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

7 lines
104 B
Rust
Raw Normal View History

#![feature(inline_const)]
fn main() {
const { 2 } - const { 1 };
//~^ ERROR mismatched types
}