]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issue-99910-const-let-mutually-exclusive.fixed
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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 }