summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type-alias/issue-62305-self-assoc-ty.stderr
blob: f3da50df9269b30b01f78713e35da8528d1fc42e (plain)
1
2
3
4
5
6
7
8
9
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 previous error

For more information about this error, try `rustc --explain E0433`.