rust/src/test/ui/suggestions
2020-02-02 11:53:10 -08:00
..
auxiliary
dont-suggest-ref
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
async-fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr
attribute-typos.rs
attribute-typos.stderr
borrow-for-loop-head.rs
borrow-for-loop-head.stderr
const-no-type.rs
const-no-type.stderr
const-pat-non-exaustive-let-new-var.rs
const-pat-non-exaustive-let-new-var.stderr
constrain-trait.fixed
constrain-trait.rs
constrain-trait.stderr
dont-suggest-deref-inside-macro-issue-58298.rs
dont-suggest-deref-inside-macro-issue-58298.stderr
dont-suggest-try_into-in-macros.rs
dont-suggest-try_into-in-macros.stderr
fn-ctor-passed-as-arg-where-it-should-have-been-called.rs
fn-ctor-passed-as-arg-where-it-should-have-been-called.stderr
fn-or-tuple-struct-with-underscore-args.rs
fn-or-tuple-struct-with-underscore-args.stderr
fn-or-tuple-struct-without-args.rs
fn-or-tuple-struct-without-args.stderr
for-i-in-vec.fixed Suggest borrowing Vec<NonCopy> in for loop 2020-01-21 11:11:00 -08:00
for-i-in-vec.rs Suggest borrowing Vec<NonCopy> in for loop 2020-01-21 11:11:00 -08:00
for-i-in-vec.stderr use diagnostic_item and modify wording 2020-01-23 11:51:56 -08:00
format-borrow.rs
format-borrow.stderr
imm-ref-trait-object-literal.rs
imm-ref-trait-object-literal.stderr
imm-ref-trait-object.rs
imm-ref-trait-object.stderr Point at Sized requirements 2020-02-02 11:53:10 -08:00
impl-trait-return-trailing-semicolon.rs
impl-trait-return-trailing-semicolon.stderr
impl-trait-with-missing-trait-bounds-in-arg.fixed
impl-trait-with-missing-trait-bounds-in-arg.rs
impl-trait-with-missing-trait-bounds-in-arg.stderr
into-str.rs
into-str.stderr
issue-21673.rs
issue-21673.stderr
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
issue-61226.stderr
issue-61963.rs
issue-61963.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
issue-62843.rs
issue-62843.stderr
issue-64252-self-type.rs
issue-64252-self-type.stderr parser: address review comments re. self. 2020-02-02 13:32:37 +01:00
issue-66968-suggest-sorted-words.rs
issue-66968-suggest-sorted-words.stderr
let-binding-init-expr-as-ty.rs
let-binding-init-expr-as-ty.stderr
match-ergonomics.rs
match-ergonomics.stderr
match-needing-semi.fixed
match-needing-semi.rs
match-needing-semi.stderr
mismatched-types-numeric-from.rs
mismatched-types-numeric-from.stderr
missing-assoc-type-bound-restriction.rs
missing-assoc-type-bound-restriction.stderr Use more accurate failed predicate spans 2020-02-02 11:53:09 -08:00
missing-trait-item.fixed
missing-trait-item.rs
missing-trait-item.stderr
mut-borrow-needed-by-trait.rs
mut-borrow-needed-by-trait.stderr
mut-ref-reassignment.rs
mut-ref-reassignment.stderr
no-extern-crate-in-type.rs
no-extern-crate-in-type.stderr Suggest defining type parameter when appropriate 2020-01-26 10:57:18 -08:00
object-unsafe-trait-references-self.rs add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-references-self.stderr add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-self.rs When object unsafe trait uses itself in associated item suggest using Self 2020-02-02 11:52:34 -08:00
object-unsafe-trait-should-use-self.stderr Use more appropriate spans on object unsafe traits and provide structured suggestions when possible 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-where-sized.fixed add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-where-sized.rs add tests for structured suggestion 2020-02-02 11:53:10 -08:00
object-unsafe-trait-should-use-where-sized.stderr add tests for structured suggestion 2020-02-02 11:53:10 -08:00
opaque-type-error.rs
opaque-type-error.stderr
option-content-move2.rs
option-content-move2.stderr
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
raw-name-use-suggestion.rs
raw-name-use-suggestion.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
remove-as_str.stderr
restrict-type-argument.rs
restrict-type-argument.stderr
return-without-lifetime.rs
return-without-lifetime.stderr
suggest-assoc-fn-call-with-turbofish-through-deref.rs
suggest-assoc-fn-call-with-turbofish-through-deref.stderr
suggest-assoc-fn-call-with-turbofish.rs
suggest-assoc-fn-call-with-turbofish.stderr
suggest-box.fixed
suggest-box.rs
suggest-box.stderr
suggest-closure-return-type-1.rs
suggest-closure-return-type-1.stderr
suggest-closure-return-type-2.rs
suggest-closure-return-type-2.stderr
suggest-closure-return-type-3.rs
suggest-closure-return-type-3.stderr
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
suggest-methods.rs
suggest-methods.stderr
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
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
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
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
type-ascription-instead-of-path-2.stderr
type-ascription-instead-of-path.rs
type-ascription-instead-of-path.stderr
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 Normalise notes with the/is 2020-01-24 16:24:50 +00:00
use-type-argument-instead-of-assoc-type.rs
use-type-argument-instead-of-assoc-type.stderr
vec-macro-in-pattern.fixed
vec-macro-in-pattern.rs
vec-macro-in-pattern.stderr