Allow illegal_floating_point_literal_pattern. These will need to be updated at some point.

Discussion can be found on rust-lang/rust#41620.
This commit is contained in:
Felix S. Klock II 2018-08-31 15:28:26 +02:00
parent dc7685e958
commit 4a9e55e05a
4 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
pub fn main() {
let x = [1, 2, 3];

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
#![feature(exclusive_range_pattern)]
pub fn main() {

View file

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
// regression test for the model lexer handling the DOTDOTDOT syntax (#15877)

View file

@ -10,6 +10,7 @@
// run-pass
// pretty-expanded FIXME #23616
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
pub fn main() {
const FOO: f64 = 10.0;