rust/tests/ui/did_you_mean
Gurinder Singh 6289ed8428 Remove note about iteration count in coerce
and replace it with a simple note suggesting
returning a value.

The type mismatch error was never due to
how many times the loop iterates. It is more
because of the peculiar structure of what the for
loop desugars to. So the note talking about
iteration count didn't make sense
2024-04-30 12:46:59 +05:30
..
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
issue-21659-show-relevant-trait-impls-1.rs
issue-21659-show-relevant-trait-impls-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-21659-show-relevant-trait-impls-2.rs
issue-21659-show-relevant-trait-impls-2.stderr Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Use TraitRef::to_string sorting in favor of TraitRef::ord, as the latter compares DefIds which we need to avoid 2024-03-27 14:02:15 +00:00
issue-40006.rs
issue-40006.stderr
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
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
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
issue-54109-and_instead_of_ampersands.rs
issue-54109-and_instead_of_ampersands.stderr
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
issue-56028-there-is-an-enum-variant.rs
issue-56028-there-is-an-enum-variant.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +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 Show number in error message even for one error 2023-11-24 19:15:52 +01: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
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