mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
10 lines
376 B
Plaintext
10 lines
376 B
Plaintext
error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
|
|
--> $DIR/issue-62305-self-assoc-ty.rs:1:14
|
|
|
|
|
LL | type Alias = Self::Target;
|
|
| ^^^^ `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`.
|