blob: ddfb6612b081fe8f642b5c0b78590114f71a6982 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: expected associated type, found associated constant
--> $DIR/consts.rs:3:29
|
LL | pub fn accept(_: impl Trait<K: Copy>) {}
| ^
|
= note: trait bounds not allowed on associated constant
error: aborting due to previous error
|