File tree 2 files changed +1
-12
lines changed
2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 2
2
//@no-rustfix
3
3
fn f2 ( ) -> impl Sized { & & 3.14159265358979323846 E }
4
4
//~^ ERROR: expected at least one digit in exponent
5
- //~| ERROR: long literal lacking separators
6
- //~| NOTE: `-D clippy::unreadable-literal` implied by `-D warnings`
7
5
8
6
fn main ( ) { }
Original file line number Diff line number Diff line change @@ -4,14 +4,5 @@ error: expected at least one digit in exponent
4
4
LL | fn f2() -> impl Sized { && 3.14159265358979323846E }
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^
6
6
7
- error: long literal lacking separators
8
- --> tests/ui/crashes/ice-10912.rs:3:28
9
- |
10
- LL | fn f2() -> impl Sized { && 3.14159265358979323846E }
11
- | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider: `3.141_592_653_589_793_238_46`
12
- |
13
- = note: `-D clippy::unreadable-literal` implied by `-D warnings`
14
- = help: to override `-D warnings` add `#[allow(clippy::unreadable_literal)]`
15
-
16
- error: aborting due to 2 previous errors
7
+ error: aborting due to 1 previous error
17
8
You can’t perform that action at this time.
0 commit comments