]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-100164.fixed
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / typeck / issue-100164.fixed
1 // run-rustfix
2
3 const _A: i32 = 123;
4 //~^ ERROR: missing type for `const` item
5
6 fn main() {
7     const _B: i32 = 123;
8     //~^ ERROR: missing type for `const` item
9 }