Skip to content

Commit 2a6c6a9

Browse files
committed
Allow illegal_floating_point_literal_pattern. These will need to be updated at some point.
Discussion can be found on #41620.
1 parent fb867b3 commit 2a6c6a9

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

src/test/ui/run-pass/array-slice-vec/vec-matching-autoslice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
1213

1314
pub fn main() {
1415
let x = [1, 2, 3];

src/test/ui/run-pass/binding/match-range.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
1213
#![feature(exclusive_range_pattern)]
1314

1415
pub fn main() {

src/test/ui/run-pass/issues/issue-15881-model-lexer-dotdotdot.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// except according to those terms.
1010

1111
// run-pass
12+
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
13+
1214
// regression test for the model lexer handling the DOTDOTDOT syntax (#15877)
1315

1416

src/test/ui/run-pass/issues/issue-7222.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
// run-pass
1212
// pretty-expanded FIXME #23616
13+
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
1314

1415
pub fn main() {
1516
const FOO: f64 = 10.0;

0 commit comments

Comments
 (0)