blob: 55cabf533aceddf622e6902eee84565ac7894189 (
plain)
| 1
2
3
4
5
6
7
8
 | //@ run-rustfix
fn main() {
    const let _FOO: i32 = 123;
    //~^ ERROR const` and `let` are mutually exclusive
    let const _BAR: i32 = 123;
    //~^ ERROR `const` and `let` are mutually exclusive
}
 |