]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-3036.fixed
Rollup merge of #72209 - Nemo157:lint-no-mangle-in-unsafe-code, r=nikomatsakis
[rust.git] / src / test / ui / parser / issue-3036.fixed
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 }