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
E0178.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0178.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-assoc-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
compatible-variants-in-pat.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
compatible-variants.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
issue-21659-show-relevant-trait-impls-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-21659-show-relevant-trait-impls-2.stderr Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter compares `DefId`s 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34126.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34126.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-34337.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34337.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-35937.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-35937.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-36798.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36798.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-36798_unknown_field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36798_unknown_field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-37139.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38054-do-not-show-unresolved-names.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38147-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38147-2.stderr Do not set up wrong span for adjustments 2023-07-10 20:09:26 +00:00
issue-38147-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38147-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-39544.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39544.stderr tweak "make mut" spans (No. 3) 2023-05-05 22:40:05 +12:00
issue-39802-show-5-trait-impls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-39802-show-5-trait-impls.stderr Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter compares `DefId`s which we need to avoid 2024-03-27 14:02:15 +00:00
issue-40006.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40006.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40396.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40396.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-40823.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-42599_available_fields_note.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-42599_available_fields_note.stderr tweak logic of "unknown field" label 2023-11-18 00:40:11 +00:00
issue-42764.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-42764.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
issue-43871-enum-instead-of-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43871-enum-instead-of-variant.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46718-struct-pattern-dotdotdot.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46836-identifier-not-instead-of-negation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-48492-tuple-destructure-missing-parens.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-53280-expected-float-found-integer-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54109-and_instead_of_ampersands.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54109-and_instead_of_ampersands.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-56028-there-is-an-enum-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-87830-try-brackets-for-arrays.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103909.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-103909.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-macro-rules.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursion_limit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion_limit.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion_limit_macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-object-reference-without-parens-suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00