fork/rust

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

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

master
289 B8 linesraw
1error: ~const can only be applied to `#[const_trait]` traits
2  --> $DIR/unstable-const-fn-in-libcore.rs:19:39
3   |
4LL |     const fn unwrap_or_else<F: ~const FnOnce() -> T>(self, f: F) -> T {
5   |                                       ^^^^^^^^^^^^^
6
7error: aborting due to previous error
8