rust/tests/ui/parser/issue-99910-const-let-mutually-exclusive.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
195 B
Rust
Raw Normal View History

2022-08-03 22:23:24 +00:00
// 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
}