]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-99910-const-let-mutually-exclusive.fixed
Account for ADT bodies and struct expressions
[rust.git] / src / test / ui / parser / issue-99910-const-let-mutually-exclusive.fixed
1 // run-rustfix
2
3 fn main() {
4     const _FOO: i32 = 123;
5     //~^ ERROR const` and `let` are mutually exclusive
6     const _BAR: i32 = 123;
7     //~^ ERROR `const` and `let` are mutually exclusive
8 }