summaryrefslogtreecommitdiffstats
path: root/tests/ui/inline-const/expr-with-block-err.rs
blob: f7547742ddcbed9d0638bc12d694c0221b34e707 (plain)
1
2
3
4
5
6
#![feature(inline_const)]

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