]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-100164.rs
Rollup merge of #106922 - ChayimFriedman2:patch-5, r=workingjubilee
[rust.git] / tests / ui / typeck / issue-100164.rs
1 // run-rustfix
2
3 const _A: = 123;
4 //~^ ERROR: missing type for `const` item
5
6 fn main() {
7     const _B: = 123;
8     //~^ ERROR: missing type for `const` item
9 }