fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: ~const can only be applied to `#[const_trait]` traits 2 --> $DIR/call-generic-method-dup-bound.rs:18:44 3 | 4LL | const fn equals_self<T: PartialEq + ~const PartialEq>(t: &T) -> bool { 5 | ^^^^^^^^^ 6 7error: ~const can only be applied to `#[const_trait]` traits 8 --> $DIR/call-generic-method-dup-bound.rs:25:37 9 | 10LL | const fn equals_self2<T: A + ~const PartialEq>(t: &T) -> bool { 11 | ^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14