blob: 11c63bdbcf4beaa53ad951f77cef4e2e9524962a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0223]: ambiguous associated constant
--> $DIR/ambiguous-assoc-const.rs:10:20
|
LL | fn foo() -> Blah<{ Tr::N }> {
| ^^^^^
|
help: if there were a type named `Example` that implemented `Tr`, you could use the fully-qualified path
|
LL - fn foo() -> Blah<{ Tr::N }> {
LL + fn foo() -> Blah<{ <Example as Tr>::N }> {
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0223`.
|