rust/tests/ui/traits/default_auto_traits
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
..
default-bounds.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
default-bounds.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
extern-types.current.stderr tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types.next.stderr tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
extern-types.rs tests: PointeeSized bounds with extern types 2025-06-16 23:04:35 +00:00
maybe-bounds-in-dyn-traits.rs Default auto traits: revert to the default supertraits 2025-09-10 15:08:06 +03:00
maybe-bounds-in-dyn-traits.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
maybe-bounds-in-traits.rs Permit more_maybe_bounds in supertraits and trait objects only 2025-09-10 15:08:08 +03:00
maybe-bounds-in-traits.stderr Permit more_maybe_bounds in supertraits and trait objects only 2025-09-10 15:08:08 +03:00