about summary refs log tree commit diff
path: root/tests/ui/type-alias/issue-62263-self-in-atb.stderr
blob: 18c8bc1a1b361c4d2a6dab33886a7c06424ea40f (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-62263-self-in-atb.rs:5:32
   |
LL | pub type Alias = dyn Trait<A = Self::A>;
   |                                ^^^^ `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`.