]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-3036.rs
Rollup merge of #79884 - Digital-Chaos:replace-magic, r=m-ou-se
[rust.git] / src / test / ui / parser / issue-3036.rs
1 // run-rustfix
2
3 // Testing that semicolon tokens are printed correctly in errors
4
5 fn main() {
6     let _x = 3 //~ ERROR: expected `;`
7 }