rust/tests/ui/inline-const/expr-with-block-err.rs

5 lines
77 B
Rust
Raw Normal View History

fn main() {
const { 2 } - const { 1 };
//~^ ERROR mismatched types
}