fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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