rust/tests/ui/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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-annotation.rs do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
bad-annotation.stderr do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
expected-comma-found-token.rs Fix comment describing what the test does 2025-04-29 12:19:55 +02:00
expected-comma-found-token.stderr Fix comment describing what the test does 2025-04-29 12:19:55 +02:00
feature-gate-on-unimplemented.rs refactor AttributeGate and rustc_attr! to emit notes during feature checking 2025-06-09 11:44:24 +02:00
feature-gate-on-unimplemented.stderr refactor AttributeGate and rustc_attr! to emit notes during feature checking 2025-06-09 11:44:24 +02:00
no-debug.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
no-debug.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
on-trait.rs do away with _Self and TraitName and check generic params for rustc_on_unimplemented 2025-05-17 15:15:53 +02:00
on-trait.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
parent-label.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parent-label.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
slice-index.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice-index.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
suggest_tuple_wrap.rs When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
suggest_tuple_wrap.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
suggest_tuple_wrap_root_obligation.rs When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
suggest_tuple_wrap_root_obligation.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
sum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sum.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
use_self_no_underscore.rs Test that Self properly works in filters 2025-04-14 00:12:37 +02:00
use_self_no_underscore.stderr Test that Self properly works in filters 2025-04-14 00:12:37 +02:00