blob: fc9b5557a6496270d2d267c9ec8aeda9a8d57f6f (
plain)
1
2
3
4
5
6
7
8
|
error: ~const can only be applied to `#[const_trait]` traits
--> $DIR/const-closure-parse-not-item.rs:7:32
|
LL | const fn test() -> impl ~const Fn() {
| ^^^^
error: aborting due to 1 previous error
|