rust/tests/ui/diagnostic_namespace/on_unimplemented
Esteban Küber eeadffd926 When more than a single impl and less than 4 could apply, point at them
```
error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
  --> $DIR/issue-67185-2.rs:21:6
   |
LL | impl Foo for FooImpl {}
   |      ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
   |
help: the following other types implement trait `Bar`
  --> $DIR/issue-67185-2.rs:9:1
   |
LL | impl Bar for [u16; 4] {}
   | ^^^^^^^^^^^^^^^^^^^^^ `[u16; 4]`
LL | impl Bar for [[u16; 3]; 3] {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `[[u16; 3]; 3]`
note: required by a bound in `Foo`
  --> $DIR/issue-67185-2.rs:14:30
   |
LL | trait Foo
   |       --- required by a bound in this trait
LL | where
LL |     [<u8 as Baz>::Quaks; 2]: Bar,
   |                              ^^^ required by this bound in `Foo`
```
2025-10-31 20:44:01 +00:00
..
auxiliary Stabilize the #[diagnostic] namespace and #[diagnostic::on_unimplemented] attribute 2024-02-27 08:50:56 +01:00
broken_format.rs Split up the unknown_or_malformed_diagnostic_attributes lint 2025-07-11 01:24:24 +02:00
broken_format.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
custom-on-unimplemented-diagnostic.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
custom-on-unimplemented-diagnostic.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
do_not_accept_options_of_the_internal_rustc_attribute.rs do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
do_not_accept_options_of_the_internal_rustc_attribute.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
do_not_fail_parsing_on_invalid_options_1.rs do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
do_not_fail_parsing_on_invalid_options_1.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
error_is_shown_in_downstream_crates.rs Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
error_is_shown_in_downstream_crates.stderr Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
ignore_unsupported_options_and_continue_to_use_fallback.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
ignore_unsupported_options_and_continue_to_use_fallback.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
multiple_notes.rs Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
multiple_notes.stderr Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
on_impl_trait.rs Move on impl position test to proper directory 2025-04-29 12:19:29 +02:00
on_impl_trait.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
on_unimplemented_simple.rs Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
on_unimplemented_simple.stderr Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
report_warning_on_duplicated_options.rs Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
report_warning_on_duplicated_options.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00