]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-103202.stderr
Rollup merge of #106779 - RReverser:patch-2, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-103202.stderr
1 error[E0223]: ambiguous associated type
2   --> $DIR/issue-103202.rs:4:17
3    |
4 LL |     fn f(self: &S::x) {}
5    |                 ^^^^
6    |
7 help: if there were a trait named `Example` with associated type `x` implemented for `S`, you could use the fully-qualified path
8    |
9 LL |     fn f(self: &<S as Example>::x) {}
10    |                 ~~~~~~~~~~~~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0223`.