fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0435]: attempt to use a non-constant value in a constant 2 --> $DIR/bindings.rs:5:29 3 | 4LL | const foo: impl Clone = x; 5 | ^ non-constant value 6 7error[E0435]: attempt to use a non-constant value in a constant 8 --> $DIR/bindings.rs:11:33 9 | 10LL | const foo: impl Clone = x; 11 | ^ non-constant value 12 13error[E0435]: attempt to use a non-constant value in a constant 14 --> $DIR/bindings.rs:18:33 15 | 16LL | const foo: impl Clone = x; 17 | ^ non-constant value 18 19error[E0435]: attempt to use a non-constant value in a constant 20 --> $DIR/bindings.rs:25:33 21 | 22LL | const foo: impl Clone = x; 23 | ^ non-constant value 24 25warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash 26 --> $DIR/bindings.rs:1:12 27 | 28LL | #![feature(impl_trait_in_bindings)] 29 | ^^^^^^^^^^^^^^^^^^^^^^ 30 | 31 = note: `#[warn(incomplete_features)]` on by default 32 33error: aborting due to 4 previous errors 34 35For more information about this error, try `rustc --explain E0435`.