rust/tests/ui/ufcs
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
..
bad-builder.rs test 2024-02-20 03:01:35 +00:00
bad-builder.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
ufcs-explicit-self-bad.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
ufcs-explicit-self-bad.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
ufcs-partially-resolved.rs Use smart-resolve when checking for trait in RHS of UFCS 2023-04-07 05:33:52 +00:00
ufcs-partially-resolved.stderr fix: Add col separator before secondary messages with no source 2025-08-26 15:15:17 -06:00
ufcs-polymorphic-paths.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ufcs-qpath-missing-params.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
ufcs-qpath-missing-params.stderr Revert suggestion verbosity change 2024-07-22 22:51:53 +00:00
ufcs-qpath-self-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ufcs-qpath-self-mismatch.stderr When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00