mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
b8e86e69ef
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` ```
10 lines
225 B
Rust
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] {
|
|
[..] => {},
|
|
}
|
|
}
|