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 clean up struct field suggestions 2023-10-04 21:36:04 +02:00
bad-assoc-expr.rs
bad-assoc-expr.stderr Tweak wording of missing angle backets in qualified path 2023-09-28 00:37:20 +00:00
bad-assoc-pat.rs
bad-assoc-pat.stderr Tweak wording of missing angle backets in qualified path 2023-09-28 00:37:20 +00:00
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 Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 clean up struct field suggestions 2023-10-04 21:36:04 +02:00
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 Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-34337.rs
issue-34337.stderr Fix &mut removal suggestion 2024-07-04 04:36:52 +00:00
issue-35937.rs
issue-35937.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
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 Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
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 tweak "make mut" spans (No. 3) 2023-05-05 22:40:05 +12:00
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 Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 Rip it out 2023-05-01 16:15:13 +08:00
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 Only give autofix suggestion when no named args are present 2023-10-05 16:11:31 +02:00
issue-105225-named-args.stderr Only give autofix suggestion when no named args are present 2023-10-05 16:11:31 +02:00
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 Add suggestion test 2023-10-05 16:11:31 +02:00
issue-114112.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
issue-114112.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
println-typo.rs Add test for println! typo 2023-02-19 03:46:03 +00:00
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 fix(middle): emit error rather than delay bug when reaching limit 2023-04-03 11:08:14 +08:00
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