diff options
| author | bors <bors@rust-lang.org> | 2020-05-16 17:47:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-16 17:47:21 +0000 |
| commit | dd927a5b0f29342f7ad919fb52ca29510d2e7362 (patch) | |
| tree | 70d83a4352454c951413f2a3cc0a056d07a1bccf /src/test/ui/array-slice-vec | |
| parent | 6163394e1ff98c53abc9d27f68b5608faa8cd9b6 (diff) | |
| parent | 12112f4d7d3a9dd1b5f285a38b661e9d50c2c0fa (diff) | |
| download | rust-dd927a5b0f29342f7ad919fb52ca29510d2e7362.tar.gz rust-dd927a5b0f29342f7ad919fb52ca29510d2e7362.zip | |
Auto merge of #72276 - RalfJung:rollup-nkfu3is, r=RalfJung
Rollup of 5 pull requests Successful merges: - #72045 (Incomplete features can also be unsound) - #72047 (Literal error reporting cleanup) - #72060 (move `ty::List` into a new submodule) - #72094 (cmdline: Make target features individually overridable) - #72254 (Remove redundant backtick in error message.) Failed merges: r? @ghost
Diffstat (limited to 'src/test/ui/array-slice-vec')
| -rw-r--r-- | src/test/ui/array-slice-vec/match_arr_unknown_len.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/array-slice-vec/match_arr_unknown_len.stderr | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/test/ui/array-slice-vec/match_arr_unknown_len.rs b/src/test/ui/array-slice-vec/match_arr_unknown_len.rs index 7f3da75ddcb..45b2889f1ca 100644 --- a/src/test/ui/array-slice-vec/match_arr_unknown_len.rs +++ b/src/test/ui/array-slice-vec/match_arr_unknown_len.rs @@ -1,5 +1,5 @@ #![feature(const_generics)] -//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash +//~^ WARN the feature `const_generics` is incomplete fn is_123<const N: usize>(x: [u32; N]) -> bool { match x { diff --git a/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr b/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr index ed29443332f..4fe8572c2d5 100644 --- a/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr +++ b/src/test/ui/array-slice-vec/match_arr_unknown_len.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/match_arr_unknown_len.rs:1: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[E0308]: mismatched types --> $DIR/match_arr_unknown_len.rs:6:9 |
