blob: bea1846e79be7dce7ba316c9c90eb8d455915f94 (
plain)
1
2
3
4
5
6
7
8
|
error: ~const can only be applied to `#[const_trait]` traits
--> $DIR/call-generic-method-pass.rs:18:32
|
LL | const fn equals_self<T: ~const PartialEq>(t: &T) -> bool {
| ^^^^^^^^^
error: aborting due to previous error
|