rust/tests/ui/consts/invalid-const-in-body.rs

7 lines
103 B
Rust

fn f() -> impl Sized {
2.0E
//~^ ERROR expected at least one digit in exponent
}
fn main() {}