rust/tests/ui/traits/inheritance
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
auto-xc-2.rs
auto-xc.rs
auto.rs
basic.rs
call-bound-inherited.rs
call-bound-inherited2.rs
cast-without-call-to-supertrait.rs
cast.rs
cross-trait-call-xc.rs
cross-trait-call.rs
diamond.rs
multiple-inheritors.rs
multiple-params.rs
num.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
num0.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
num1.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
num2.rs
num3.rs
num5.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
overloading-simple.rs
overloading-xc-exe.rs
overloading.rs
repeated-supertrait-ambig.rs
repeated-supertrait-ambig.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
repeated-supertrait.rs
self-in-supertype.rs
self.rs
simple.rs
static.rs
static2.rs
subst.rs
subst2.rs
supertrait-operator-issue-18088.rs clean up issue-18088 (operator from supertrait) 2025-09-14 12:16:21 +03:00
visibility.rs