rust/tests/ui/crashes/ice-10912.stderr
Nicholas Nethercote 1ba47ea06c Use LitKind::Err for floats with empty exponents.
This prevents a follow-up type error in a test, which seems fine.
2024-02-28 20:59:27 +11:00

9 lines
249 B
Plaintext

error: expected at least one digit in exponent
--> tests/ui/crashes/ice-10912.rs:3:28
|
LL | fn f2() -> impl Sized { && 3.14159265358979323846E }
| ^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error