fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
504 B14 linesraw
1error: ~const can only be applied to `#[const_trait]` traits
2  --> $DIR/call-generic-method-chain.rs:18:32
3   |
4LL | const fn equals_self<T: ~const PartialEq>(t: &T) -> bool {
5   |                                ^^^^^^^^^
6
7error: ~const can only be applied to `#[const_trait]` traits
8  --> $DIR/call-generic-method-chain.rs:22:40
9   |
10LL | const fn equals_self_wrapper<T: ~const PartialEq>(t: &T) -> bool {
11   |                                        ^^^^^^^^^
12
13error: aborting due to 2 previous errors
14