We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a87dc77 + 915740c commit 8622ee2Copy full SHA for 8622ee2
src/test/rustdoc-ui/issue-79465.rs
@@ -0,0 +1,3 @@
1
+pub fn f1<T>(x: T::A) {}
2
+//~^ ERROR
3
+//~^^ ERROR
src/test/rustdoc-ui/issue-79465.stderr
@@ -0,0 +1,15 @@
+error[E0220]: associated type `A` not found for `T`
+ --> $DIR/issue-79465.rs:1:20
+ |
4
+LL | pub fn f1<T>(x: T::A) {}
5
+ | ^ associated type `A` not found
6
+
7
8
9
10
11
12
13
+error: aborting due to 2 previous errors
14
15
+For more information about this error, try `rustc --explain E0220`.
0 commit comments