rust/tests/ui/impl-trait/normalize-tait-in-const.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
307 B
Plaintext
Raw Normal View History

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