blob: e0513433b8ec12fe9bf17df3c6a0358bbfb68d6f (
plain)
1
2
3
4
5
6
7
8
|
error: ~const can only be applied to `#[const_trait]` traits
--> $DIR/normalize-tait-in-const.rs:25:42
|
LL | const fn with_positive<F: ~const for<'a> Fn(&'a Alias<'a>) + ~const Destruct>(fun: F) {
| ^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
|