rust/tests/ui/did_you_mean
bors 15c4ccef03 Auto merge of #139940 - matthiaskrgr:rollup-rd4d3fn, r=matthiaskrgr
Rollup of 9 pull requests

Successful merges:

 - #135340 (Add `explicit_extern_abis` Feature and Enforce Explicit ABIs)
 - #139440 (rustc_target: RISC-V: feature addition batch 2)
 - #139667 (cfi: Remove #[no_sanitize(cfi)] for extern weak functions)
 - #139828 (Don't require rigid alias's trait to hold)
 - #139854 (Improve parse errors for stray lifetimes in type position)
 - #139889 (Clean UI tests 3 of n)
 - #139894 (Fix `opt-dist` CLI flag and make it work without LLD)
 - #139900 (stepping into impls for normalization is unproductive)
 - #139915 (replace some #[rustc_intrinsic] usage with use of the libcore declarations)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-04-17 04:52:34 +00:00
..
auxiliary clean up struct field suggestions 2023-10-04 21:36:04 +02: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
casting-fn-item-to-fn-pointer.rs Suggest considering casting fn item as fn pointer in more cases 2025-01-28 20:17:36 +08:00
casting-fn-item-to-fn-pointer.stderr Suggest considering casting fn item as fn pointer in more cases 2025-01-28 20:17:36 +08: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
E0178.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
E0178.stderr Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02: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 Spell out other trait diagnostic 2024-06-12 12:34:47 +00: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 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 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 Fix &mut removal suggestion 2024-07-04 04:36:52 +00: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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 Fix &mut removal suggestion 2024-07-04 04:36:52 +00: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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-38147-1.stderr Tweak &mut self suggestion span 2025-01-28 19:35:51 +00: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 &mut self suggestion span 2025-01-28 19:35:51 +00: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 Spell out other trait diagnostic 2024-06-12 12:34:47 +00:00
issue-40006.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-42764.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Remove old diagnostic notes for type ascription syntax 2025-04-16 20:24:55 +10: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 Use shorter span for float literal suggestion 2024-07-04 05:19:35 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
recursion_limit_deref.stderr Don't require method impls for methods with Self:Sized bounds for impls for unsized types 2025-02-25 08:06:30 +00: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
trait-object-reference-without-parens-suggestion.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
trait-object-reference-without-parens-suggestion.stderr Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00