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

5 lines
77 B
Rust

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