about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-99910-const-let-mutually-exclusive.fixed
blob: 0c8b36f6f2e8fd07e6d983f7a1fe0f34875ca23c (plain)
1
2
3
4
5
6
7
8
//@ run-rustfix

fn main() {
    const _FOO: i32 = 123;
    //~^ ERROR const` and `let` are mutually exclusive
    const _BAR: i32 = 123;
    //~^ ERROR `const` and `let` are mutually exclusive
}