]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/issue-22037.stderr
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / associated-types / issue-22037.stderr
1 error[E0576]: cannot find associated type `X` in trait `A`
2   --> $DIR/issue-22037.rs:3:33
3    |
4 LL |     type Output;
5    |     ------------ associated type `Output` defined here
6 LL |     fn a(&self) -> <Self as A>::X;
7    |                                 ^
8    |                                 |
9    |                                 not found in `A`
10    |                                 help: maybe you meant this associated type: `Output`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0576`.