mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
|
warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
|
||
|
--> $DIR/binder-defaults-119489.rs:1:12
|
||
|
|
|
||
|
LL | #![feature(non_lifetime_binders, generic_const_exprs)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: see issue #108185 <https://github.com/rust-lang/rust/issues/108185> for more information
|
||
|
= note: `#[warn(incomplete_features)]` on by default
|
||
|
|
||
|
warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
|
||
|
--> $DIR/binder-defaults-119489.rs:1:34
|
||
|
|
|
||
|
LL | #![feature(non_lifetime_binders, generic_const_exprs)]
|
||
|
| ^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
|
||
|
|
||
|
error: defaults for generic parameters are not allowed in `for<...>` binders
|
||
|
--> $DIR/binder-defaults-119489.rs:7:9
|
||
|
|
|
||
|
LL | for<T = (), const N: usize = 1> ():,
|
||
|
| ^^^^^^
|
||
|
|
||
|
error: defaults for generic parameters are not allowed in `for<...>` binders
|
||
|
--> $DIR/binder-defaults-119489.rs:7:17
|
||
|
|
|
||
|
LL | for<T = (), const N: usize = 1> ():,
|
||
|
| ^^^^^^^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to 2 previous errors; 2 warnings emitted
|
||
|
|