Auto merge of #50486 - Manishearth:approx-stab, r=nrc

Stabilize suggestion applicability field in json output

cc @killercup

r? @nrc
This commit is contained in:
bors 2018-05-22 01:53:55 +00:00
commit 38fd7ea50a
8 changed files with 22 additions and 39 deletions

View file

@ -24,6 +24,7 @@
],
"label": null,
"suggested_replacement": null,
"suggestion_applicability": null,
"expansion": null
}
],
@ -51,6 +52,7 @@
],
"label": null,
"suggested_replacement": null,
"suggestion_applicability": null,
"expansion": null
}
],
@ -80,6 +82,7 @@
],
"label": null,
"suggested_replacement": "1 / (2 + 3)",
"suggestion_applicability": "Unspecified",
"expansion": null
}
],

View file

@ -89,6 +89,7 @@ mod foo {
],
"label": "not found in this scope",
"suggested_replacement": null,
"suggestion_applicability": null,
"expansion": null
}
],
@ -118,6 +119,7 @@ mod foo {
"suggested_replacement": "use std::collections::binary_heap::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -140,6 +142,7 @@ mod foo {
"suggested_replacement": "use std::collections::btree_map::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -162,6 +165,7 @@ mod foo {
"suggested_replacement": "use std::collections::btree_set::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -184,6 +188,7 @@ mod foo {
"suggested_replacement": "use std::collections::hash_map::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -206,6 +211,7 @@ mod foo {
"suggested_replacement": "use std::collections::hash_set::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -228,6 +234,7 @@ mod foo {
"suggested_replacement": "use std::collections::linked_list::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -250,6 +257,7 @@ mod foo {
"suggested_replacement": "use std::collections::vec_deque::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -272,6 +280,7 @@ mod foo {
"suggested_replacement": "use std::option::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -294,6 +303,7 @@ mod foo {
"suggested_replacement": "use std::path::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -316,6 +326,7 @@ mod foo {
"suggested_replacement": "use std::result::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -338,6 +349,7 @@ mod foo {
"suggested_replacement": "use std::slice::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
},
{
@ -360,6 +372,7 @@ mod foo {
"suggested_replacement": "use std::sync::mpsc::Iter;
",
"suggestion_applicability": "Unspecified",
"expansion": null
}
],