diff options
Diffstat (limited to 'src/test/ui/binding')
| -rw-r--r-- | src/test/ui/binding/const-param.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/binding/const-param.stderr b/src/test/ui/binding/const-param.stderr index f6a80c3c7d3..316fac62325 100644 --- a/src/test/ui/binding/const-param.stderr +++ b/src/test/ui/binding/const-param.stderr @@ -1,10 +1,11 @@ -warning: the feature `const_generics` is incomplete and may cause the compiler to crash +warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/const-param.rs:3:12 | LL | #![feature(const_generics)] | ^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default + = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information error[E0158]: const parameters cannot be referenced in patterns --> $DIR/const-param.rs:7:9 |
