2023-08-13 09:02:31 +00:00
|
|
|
error: ~const can only be applied to `#[const_trait]` traits
|
|
|
|
--> $DIR/normalize-tait-in-const.rs:25:42
|
2023-07-29 08:20:25 +00:00
|
|
|
|
|
2023-08-13 09:02:31 +00:00
|
|
|
LL | const fn with_positive<F: ~const for<'a> Fn(&'a Alias<'a>) + ~const Destruct>(fun: F) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2023-07-29 08:20:25 +00:00
|
|
|
|
2023-09-20 02:25:49 +00:00
|
|
|
error: aborting due to previous error
|
2022-10-25 02:11:24 +00:00
|
|
|
|