fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: ~const can only be applied to `#[const_trait]` traits 2 --> $DIR/const-closure-trait-method.rs:14:39 3 | 4LL | const fn need_const_closure<T: ~const FnOnce(()) -> i32>(x: T) -> i32 { 5 | ^^^^^^^^^^^^^^^^^ 6 7error: aborting due to previous error 8