summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-22037.stderr
blob: 0e019f10f37f211c1aabf8ca3ddbb5db65d066fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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: `Output`

error: aborting due to previous error

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