2023-03-13 17:38:37 -05:00
|
|
|
warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
|
|
--> $DIR/capture-late-ct-in-anon.rs:1:12
|
|
|
|
|
|
|
|
|
LL | #![feature(non_lifetime_binders)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
|
|
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
|
|
|
2023-09-02 16:29:27 -05:00
|
|
|
error: cannot capture late-bound const parameter in constant
|
2023-03-13 17:38:37 -05:00
|
|
|
--> $DIR/capture-late-ct-in-anon.rs:6:30
|
|
|
|
|
|
|
|
|
LL | for<const C: usize> [(); C]: Copy,
|
|
|
|
| -------------- ^
|
|
|
|
| |
|
|
|
|
| parameter defined here
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
2023-03-13 17:38:37 -05:00
|
|
|
|