rust/tests/ui/type-alias/issue-62305-self-assoc-ty.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
376 B
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
2019-07-06 15:16:12 +00:00
--> $DIR/issue-62305-self-assoc-ty.rs:1:14
|
LL | type Alias = Self::Target;
| ^^^^ `Self` is only available in impls, traits, and type definitions
2019-07-06 15:16:12 +00:00
error: aborting due to 1 previous error
2019-07-06 15:16:12 +00:00
For more information about this error, try `rustc --explain E0433`.