Files
rust/tests/ui/crashes/unreachable-array-or-slice.rs
T
Esteban Küber b8e86e69ef Unify wording of resolve error
Remove "failed to resolve" and use the same format we use in other resolution errors "cannot find `name`".

```
error[E0433]: cannot find `nonexistent` in `existent`
  --> $DIR/custom_attr_multisegment_error.rs:5:13
   |
LL | #[existent::nonexistent]
   |             ^^^^^^^^^^^ could not find `nonexistent` in `existent`
```
2026-02-17 16:51:44 +00:00

10 lines
225 B
Rust

struct Foo(isize, isize, isize, isize);
pub fn main() {
let Self::anything_here_kills_it(a, b, ..) = Foo(5, 5, 5, 5);
//~^ ERROR: cannot find `Self` in this scope
match [5, 5, 5, 5] {
[..] => {},
}
}