fork/rust

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

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

master
357 B14 linesraw
1error: `~const` is not allowed here
2  --> $DIR/issue-90052.rs:6:22
3   |
4LL | fn foo<T>() where T: ~const Bar {}
5   |                      ^^^^^^^^^^
6   |
7note: this function is not `const`, so it cannot have `~const` trait bounds
8  --> $DIR/issue-90052.rs:6:4
9   |
10LL | fn foo<T>() where T: ~const Bar {}
11   |    ^^^
12
13error: aborting due to previous error
14