mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
1ba47ea06c
This prevents a follow-up type error in a test, which seems fine.
6 lines
170 B
Rust
6 lines
170 B
Rust
#![warn(clippy::unreadable_literal)]
|
|
//@no-rustfix
|
|
fn f2() -> impl Sized { && 3.14159265358979323846E }
|
|
//~^ ERROR: expected at least one digit in exponent
|
|
|
|
fn main() {}
|