Skip to content

Commit 10234d2

Browse files
committed
let_chains: Adjust tests for pre-expansion gating.
1 parent eb4f54a commit 10234d2

File tree

4 files changed

+103
-62
lines changed

4 files changed

+103
-62
lines changed

src/test/ui/rfc-2497-if-let-chains/disallowed-positions.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
//
1818
// To that end, we check some positions which is not part of the language above.
1919

20-
#![feature(const_generics)] //~ WARN the feature `const_generics` is incomplete
20+
#![feature(const_generics)]
21+
//~^ WARN the feature `const_generics` is incomplete
22+
#![feature(let_chains)] // Avoid inflating `.stderr` with overzealous gates in this test.
23+
//~^ WARN the feature `let_chains` is incomplete
2124

2225
#![allow(irrefutable_let_patterns)]
2326

0 commit comments

Comments
 (0)