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

7 lines
103 B
Rust
Raw Normal View History

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