rust/tests/ui/did_you_mean
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00
..
auxiliary
bad-assoc-expr.rs
bad-assoc-expr.stderr
bad-assoc-pat.rs
bad-assoc-pat.stderr
bad-assoc-ty.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
bad-assoc-ty.stderr Merge collect_mod_item_types query into check_well_formed 2024-03-07 14:26:31 +00:00
brackets-to-braces-single-element.rs
brackets-to-braces-single-element.stderr
collect-without-into-iter-call.rs suggest into_iter() when Iterator method called on impl IntoIterator 2024-02-12 22:11:48 +01:00
collect-without-into-iter-call.stderr suggest into_iter() when Iterator method called on impl IntoIterator 2024-02-12 22:11:48 +01:00
compatible-variants-in-pat.rs
compatible-variants-in-pat.stderr
compatible-variants.rs
compatible-variants.stderr Remove note about iteration count in coerce 2024-04-30 12:46:59 +05:30
dont-suggest-doc-hidden-fields.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dont-suggest-doc-hidden-fields.stderr recover primary span label 2023-11-16 17:00:23 +00:00
dont-suggest-hygienic-fields.rs
dont-suggest-hygienic-fields.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
E0178.rs
E0178.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-21659-show-relevant-trait-impls-1.rs
issue-21659-show-relevant-trait-impls-1.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
issue-21659-show-relevant-trait-impls-2.rs
issue-21659-show-relevant-trait-impls-2.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
issue-31424.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-31424.stderr
issue-34126.rs
issue-34126.stderr
issue-34337.rs
issue-34337.stderr Fix &mut removal suggestion 2024-07-04 04:36:52 +00:00
issue-35937.rs
issue-35937.stderr
issue-36798_unknown_field.rs
issue-36798_unknown_field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-36798.rs
issue-36798.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-37139.rs
issue-37139.stderr Fix &mut removal suggestion 2024-07-04 04:36:52 +00:00
issue-38054-do-not-show-unresolved-names.rs
issue-38054-do-not-show-unresolved-names.stderr
issue-38147-1.rs
issue-38147-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-38147-2.rs
issue-38147-2.stderr
issue-38147-3.rs
issue-38147-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-38147-4.rs
issue-38147-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39544.rs
issue-39544.stderr
issue-39802-show-5-trait-impls.rs
issue-39802-show-5-trait-impls.stderr Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
issue-40006.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
issue-40006.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
issue-40396.rs
issue-40396.stderr
issue-40823.rs
issue-40823.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-41679-tilde-bitwise-negation-attempt.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41679-tilde-bitwise-negation-attempt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-41679-tilde-bitwise-negation-attempt.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-42599_available_fields_note.rs
issue-42599_available_fields_note.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
issue-42764.rs
issue-42764.stderr
issue-43871-enum-instead-of-variant.rs
issue-43871-enum-instead-of-variant.stderr
issue-46718-struct-pattern-dotdotdot.rs
issue-46718-struct-pattern-dotdotdot.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-46836-identifier-not-instead-of-negation.rs
issue-46836-identifier-not-instead-of-negation.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-48492-tuple-destructure-missing-parens.rs
issue-48492-tuple-destructure-missing-parens.stderr
issue-49746-unicode-confusable-in-float-literal-expt.rs Use LitKind::Err for floats with empty exponents. 2024-02-28 20:59:27 +11:00
issue-49746-unicode-confusable-in-float-literal-expt.stderr Use LitKind::Err for floats with empty exponents. 2024-02-28 20:59:27 +11:00
issue-53280-expected-float-found-integer-literal.rs
issue-53280-expected-float-found-integer-literal.stderr Use shorter span for float literal suggestion 2024-07-04 05:19:35 +00:00
issue-54109-and_instead_of_ampersands.rs
issue-54109-and_instead_of_ampersands.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-54109-without-witness.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54109-without-witness.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54109-without-witness.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-56028-there-is-an-enum-variant.rs
issue-56028-there-is-an-enum-variant.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
issue-87830-try-brackets-for-arrays.rs
issue-87830-try-brackets-for-arrays.stderr
issue-103909.rs
issue-103909.stderr
issue-105225-named-args.rs
issue-105225-named-args.stderr
issue-105225.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105225.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105225.stderr
issue-114112.rs
issue-114112.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
println-typo.rs
println-typo.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-macro-rules.rs
pub-macro-rules.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
recursion_limit_deref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recursion_limit_deref.stderr
recursion_limit_macro.rs
recursion_limit_macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursion_limit.rs
recursion_limit.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
replace-impl-infer-ty-from-trait.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
replace-impl-infer-ty-from-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
replace-impl-infer-ty-from-trait.stderr Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
trait-object-reference-without-parens-suggestion.rs
trait-object-reference-without-parens-suggestion.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
use_instead_of_import.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_instead_of_import.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use_instead_of_import.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00