fork/rust

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

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

master
551 B20 linesraw
1error: ~const can only be applied to `#[const_trait]` traits
2  --> $DIR/super-traits-fail-3.rs:13:19
3   |
4LL | trait Bar: ~const Foo {}
5   |                   ^^^
6
7error: ~const can only be applied to `#[const_trait]` traits
8  --> $DIR/super-traits-fail-3.rs:13:19
9   |
10LL | trait Bar: ~const Foo {}
11   |                   ^^^
12
13error: ~const can only be applied to `#[const_trait]` traits
14  --> $DIR/super-traits-fail-3.rs:17:24
15   |
16LL | const fn foo<T: ~const Bar>(x: &T) {
17   |                        ^^^
18
19error: aborting due to 3 previous errors
20