rust/src/test/ui/suggestions
2019-11-05 10:29:54 -08:00
..
auxiliary
dont-suggest-ref Cherry-pick src/test changes with Centril's changes 2019-08-19 22:31:46 +01:00
as-ref.rs
as-ref.stderr
assoc-const-as-field.rs
assoc-const-as-field.stderr
assoc-type-in-method-return.rs
assoc-type-in-method-return.stderr
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.rs Suggest call fn ctor passed as arg to fn with type param bounds 2019-08-31 00:14:23 -07:00
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr On obligation errors point at the unfulfilled binding when possible 2019-09-22 11:33:12 -07:00
attribute-typos.rs resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
attribute-typos.stderr resolve: Tweak "cannot find" wording for attributes 2019-09-15 13:10:12 +03:00
borrow-for-loop-head.rs
borrow-for-loop-head.stderr
const-no-type.rs Add parser recovery for const $ident = $expr;. 2019-09-23 17:50:07 +02:00
const-no-type.stderr Add parser recovery for const $ident = $expr;. 2019-09-23 17:50:07 +02:00
const-pat-non-exaustive-let-new-var.rs Improve diagnostic for let A = 0; 2019-09-28 03:07:31 +02:00
const-pat-non-exaustive-let-new-var.stderr Improve diagnostic for let A = 0; 2019-09-28 03:07:31 +02:00
constrain-trait.fixed Fix suggestion to constrain trait for method to be found 2019-10-15 08:02:49 -07:00
constrain-trait.rs Fix suggestion to constrain trait for method to be found 2019-10-15 08:02:49 -07:00
constrain-trait.stderr Fix suggestion to constrain trait for method to be found 2019-10-15 08:02:49 -07:00
dont-suggest-deref-inside-macro-issue-58298.rs
dont-suggest-deref-inside-macro-issue-58298.stderr
dont-suggest-try_into-in-macros.rs Do not suggest try_into for base types inside of macro expansions 2019-08-15 11:46:52 -07:00
dont-suggest-try_into-in-macros.stderr Do not suggest try_into for base types inside of macro expansions 2019-08-15 11:46:52 -07:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs Suggest call fn ctor passed as arg to fn with type param bounds 2019-08-31 00:14:23 -07:00
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr On obligation errors point at the unfulfilled binding when possible 2019-09-22 11:33:12 -07:00
fn-or-tuple-struct-with-underscore-args.rs
fn-or-tuple-struct-with-underscore-args.stderr
fn-or-tuple-struct-without-args.rs Suggest calling closure with resolved return type when appropriate 2019-08-23 11:59:04 -07:00
fn-or-tuple-struct-without-args.stderr Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
format-borrow.rs
format-borrow.stderr
imm-ref-trait-object-literal.rs Note when a mutable trait object is needed 2019-10-09 10:17:29 -07:00
imm-ref-trait-object-literal.stderr Note when a mutable trait object is needed 2019-10-09 10:17:29 -07:00
imm-ref-trait-object.rs Note when a mutable trait object is needed 2019-10-09 10:17:29 -07:00
imm-ref-trait-object.stderr Tweak wording 2019-10-09 10:17:29 -07:00
impl-trait-return-trailing-semicolon.rs
impl-trait-return-trailing-semicolon.stderr
impl-trait-with-missing-trait-bounds-in-arg.fixed Correctly suggest adding bounds to impl Trait argument 2019-08-22 10:15:57 -07:00
impl-trait-with-missing-trait-bounds-in-arg.rs Correctly suggest adding bounds to impl Trait argument 2019-08-22 10:15:57 -07:00
impl-trait-with-missing-trait-bounds-in-arg.stderr Give method not found a primary span label 2019-09-08 18:27:02 -07:00
into-str.rs
into-str.stderr Tweak wording 2019-10-09 10:17:29 -07:00
issue-21673.rs
issue-21673.stderr Give method not found a primary span label 2019-09-08 18:27:02 -07:00
issue-51055-missing-semicolon-between-call-and-tuple.rs
issue-51055-missing-semicolon-between-call-and-tuple.stderr
issue-52820.rs
issue-52820.stderr
issue-57672.rs
issue-59819.fixed
issue-59819.rs
issue-59819.stderr
issue-61226.rs review comment: remove unecessary error in test 2019-08-13 09:01:56 -07:00
issue-61226.stderr Point at definition when misusing ADT 2019-09-22 11:27:55 -07:00
issue-61963.rs
issue-61963.stderr
issue-62843.rs
issue-62843.stderr When possible point at argument causing item obligation failure 2019-09-19 12:10:23 -07:00
issue-64252-self-type.rs syntax: improve parameter without type suggestions 2019-10-02 09:51:27 +01:00
issue-64252-self-type.stderr syntax: improve parameter without type suggestions 2019-10-02 09:51:27 +01:00
let-binding-init-expr-as-ty.rs Remove unnecessary error in test 2019-10-26 15:26:08 -07:00
let-binding-init-expr-as-ty.stderr review comments and tweaks 2019-10-26 15:26:08 -07:00
match-ergonomics.rs
match-ergonomics.stderr
match-needing-semi.fixed review comments 2019-09-28 09:56:28 -07:00
match-needing-semi.rs review comments 2019-09-28 09:56:28 -07:00
match-needing-semi.stderr Point at enclosing match when expecting () in arm 2019-09-28 09:56:28 -07:00
mismatched-types-numeric-from.rs Do not suggest .try_into() on i32::from(x) 2019-08-22 13:37:35 -07:00
mismatched-types-numeric-from.stderr Do not suggest .try_into() on i32::from(x) 2019-08-22 13:37:35 -07:00
missing-assoc-type-bound-restriction.rs Fix rebase 2019-10-22 13:24:30 -07:00
missing-assoc-type-bound-restriction.stderr Fix rebase 2019-10-22 13:24:30 -07:00
mut-borrow-needed-by-trait.rs Note when a mutable trait object is needed 2019-10-09 10:17:29 -07:00
mut-borrow-needed-by-trait.stderr Tweak wording 2019-10-09 10:17:29 -07:00
mut-ref-reassignment.rs
mut-ref-reassignment.stderr
no-extern-crate-in-type.rs
no-extern-crate-in-type.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
opaque-type-error.rs review comments: reword and add test 2019-08-21 16:49:26 -07:00
opaque-type-error.stderr Opaque type locations in error message for clarity. 2019-09-05 06:32:53 +01:00
option-content-move.fixed
option-content-move.rs
option-content-move.stderr
path-by-value.rs
path-by-value.stderr
path-display.rs
path-display.stderr
recover-from-semicolon-trailing-item.rs
recover-from-semicolon-trailing-item.stderr
recover-invalid-float.fixed
recover-invalid-float.rs
recover-invalid-float.stderr
remove-as_str.rs add test files 2019-10-02 09:06:37 +08:00
remove-as_str.stderr Use structured suggestion for removal of as_str() call 2019-10-07 16:18:02 -07:00
restrict-type-argument.rs Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
restrict-type-argument.stderr Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
return-without-lifetime.rs
return-without-lifetime.stderr
suggest-assoc-fn-call-with-turbofish-through-deref.rs Account for derefs when suggesting assoc function 2019-10-05 16:57:14 -07:00
suggest-assoc-fn-call-with-turbofish-through-deref.stderr Account for derefs when suggesting assoc function 2019-10-05 16:57:14 -07:00
suggest-assoc-fn-call-with-turbofish.rs When suggesting assoc function with type params, include turbofish 2019-10-05 16:13:06 -07:00
suggest-assoc-fn-call-with-turbofish.stderr When suggesting assoc function with type params, include turbofish 2019-10-05 16:13:06 -07:00
suggest-box.fixed Suggest Box::new when appropriate 2019-08-12 20:24:30 -07:00
suggest-box.rs Suggest Box::new when appropriate 2019-08-12 20:24:30 -07:00
suggest-box.stderr review comments 2019-08-13 11:24:08 -07:00
suggest-closure-return-type-1.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-1.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-closure-return-type-2.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-2.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-closure-return-type-3.rs Suggest giving return type to closures on E0282 2019-08-13 16:41:43 -07:00
suggest-closure-return-type-3.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-impl-trait-lifetime.fixed
suggest-impl-trait-lifetime.nll.stderr
suggest-impl-trait-lifetime.rs
suggest-impl-trait-lifetime.stderr
suggest-labels.rs
suggest-labels.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-methods.rs
suggest-methods.stderr Give method not found a primary span label 2019-09-08 18:27:02 -07:00
suggest-move-lifetimes.rs
suggest-move-lifetimes.stderr
suggest-move-types.rs
suggest-move-types.stderr
suggest-on-bare-closure-call.rs
suggest-on-bare-closure-call.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-private-fields.rs
suggest-private-fields.stderr
suggest-ref-mut.rs
suggest-ref-mut.stderr
suggest-remove-refs-1.rs
suggest-remove-refs-1.stderr Only suggest change mut if vars are resolved 2019-10-09 11:42:29 -07:00
suggest-remove-refs-2.rs
suggest-remove-refs-2.stderr
suggest-remove-refs-3.rs
suggest-remove-refs-3.stderr
suggest-std-when-using-type.rs
suggest-std-when-using-type.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
suggest-variants.rs
suggest-variants.stderr
type-ascription-instead-of-let.rs
type-ascription-instead-of-let.stderr
type-ascription-instead-of-method.rs
type-ascription-instead-of-method.stderr
type-ascription-instead-of-path-2.rs Detect :: -> : typo when involving turbofish 2019-11-04 16:19:55 -08:00
type-ascription-instead-of-path-2.stderr Account for typo in turbofish and suggest :: 2019-11-05 10:29:54 -08:00
type-ascription-instead-of-path.rs diagnostics: Describe crate root modules in DefKind::Mod as "crate" 2019-08-10 23:17:20 +03:00
type-ascription-instead-of-path.stderr diagnostics: Describe crate root modules in DefKind::Mod as "crate" 2019-08-10 23:17:20 +03:00
type-ascription-instead-of-variant.rs
type-ascription-instead-of-variant.stderr
type-mismatch-struct-field-shorthand-2.rs
type-mismatch-struct-field-shorthand-2.stderr
type-mismatch-struct-field-shorthand.fixed
type-mismatch-struct-field-shorthand.rs
type-mismatch-struct-field-shorthand.stderr
unused-closure-argument.rs
unused-closure-argument.stderr
use-type-argument-instead-of-assoc-type.rs
use-type-argument-instead-of-assoc-type.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
vec-macro-in-pattern.fixed
vec-macro-in-pattern.rs
vec-macro-in-pattern.stderr