fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0411]: expected trait, found self type `Self` 2 --> $DIR/resolve-self-in-impl-2.rs:4:6 3 | 4LL | impl Self for S {} 5 | ^^^^ `Self` is only available in impls, traits, and type definitions 6 7error[E0405]: cannot find trait `N` in `Self` 8 --> $DIR/resolve-self-in-impl-2.rs:5:12 9 | 10LL | impl Self::N for S {} 11 | ^ not found in `Self` 12 13error: aborting due to 2 previous errors 14 15Some errors have detailed explanations: E0405, E0411. 16For more information about an error, try `rustc --explain E0405`.