diff options
| author | Caio <c410.f3r@gmail.com> | 2022-01-18 19:38:17 -0300 |
|---|---|---|
| committer | Caio <c410.f3r@gmail.com> | 2022-01-18 19:38:17 -0300 |
| commit | 5f74ef4fb1d86d80a3052e772010e613353dbfa7 (patch) | |
| tree | 07b04d52535a6472f60b6482028a3bcb725e4494 /src/test/ui/expr | |
| parent | 9ad5d82f822b3cb67637f11be2e65c5662b66ec0 (diff) | |
| download | rust-5f74ef4fb1d86d80a3052e772010e613353dbfa7.tar.gz rust-5f74ef4fb1d86d80a3052e772010e613353dbfa7.zip | |
Formally implement let chains
Diffstat (limited to 'src/test/ui/expr')
| -rw-r--r-- | src/test/ui/expr/if/attrs/let-chains-attr.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/expr/if/attrs/let-chains-attr.stderr | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/test/ui/expr/if/attrs/let-chains-attr.rs b/src/test/ui/expr/if/attrs/let-chains-attr.rs index 5237a9ff396..2cd8731141a 100644 --- a/src/test/ui/expr/if/attrs/let-chains-attr.rs +++ b/src/test/ui/expr/if/attrs/let-chains-attr.rs @@ -1,6 +1,6 @@ // check-pass -#![feature(let_chains)] //~ WARN the feature `let_chains` is incomplete +#![feature(let_chains)] #[cfg(FALSE)] fn foo() { diff --git a/src/test/ui/expr/if/attrs/let-chains-attr.stderr b/src/test/ui/expr/if/attrs/let-chains-attr.stderr deleted file mode 100644 index 8b987471534..00000000000 --- a/src/test/ui/expr/if/attrs/let-chains-attr.stderr +++ /dev/null @@ -1,11 +0,0 @@ -warning: the feature `let_chains` is incomplete and may not be safe to use and/or cause compiler crashes - --> $DIR/let-chains-attr.rs:3:12 - | -LL | #![feature(let_chains)] - | ^^^^^^^^^^ - | - = note: `#[warn(incomplete_features)]` on by default - = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information - -warning: 1 warning emitted - |
