blob: 0b5f18f81c0bfdbf23f999f5fbc0696792fcb75e [file]
error[E0576]: cannot find associated type `X` in trait `A`
--> $DIR/issue-22037.rs:3:33
|
LL | type Output;
| ------------ associated type `Output` defined here
LL | fn a(&self) -> <Self as A>::X;
| ^ not found in `A`
|
help: maybe you meant this associated type
|
LL - fn a(&self) -> <Self as A>::X;
LL + fn a(&self) -> <Self as A>::Output;
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0576`.