]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/assoc-const-eq-missing.stderr
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / associated-consts / assoc-const-eq-missing.stderr
1 error[E0220]: associated type `Z` not found for `Foo`
2   --> $DIR/assoc-const-eq-missing.rs:15:16
3    |
4 LL | fn foo1<F: Foo<Z=3>>() {}
5    |                ^ associated type `Z` not found
6
7 error[E0220]: associated type `Z` not found for `Foo`
8   --> $DIR/assoc-const-eq-missing.rs:17:16
9    |
10 LL | fn foo2<F: Foo<Z=usize>>() {}
11    |                ^ associated type `Z` not found
12
13 error[E0220]: associated type `Z` not found for `Foo`
14   --> $DIR/assoc-const-eq-missing.rs:19:16
15    |
16 LL | fn foo3<F: Foo<Z=5>>() {}
17    |                ^ associated type `Z` not found
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0220`.