mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 19:13:29 +00:00
10 lines
422 B
Text
10 lines
422 B
Text
|
error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
|
||
|
--> tests/ui/crashes/unreachable-array-or-slice.rs:4:9
|
||
|
|
|
||
|
LL | let Self::anything_here_kills_it(a, b, ..) = Foo(5, 5, 5, 5);
|
||
|
| ^^^^ `Self` is only available in impls, traits, and type definitions
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0433`.
|