]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/issue-104392.rs
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / ui / lint / issue-104392.rs
1 fn main() {
2     { unsafe 92 } //~ ERROR expected `{`, found `92`
3 }
4
5 fn foo() {
6     { mod 92 } //~ ERROR expected identifier, found `92`
7 }
8
9 fn bar() {
10     { trait 92 } //~ ERROR expected identifier, found `92`
11 }