]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-non-snake-case-modules.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / lint / lint-non-snake-case-modules.rs
1 #![deny(non_snake_case)]
2 #![allow(dead_code)]
3
4 mod FooBar { //~ ERROR module `FooBar` should have a snake case name
5     pub struct S;
6 }
7
8 fn f(_: FooBar::S) { }
9
10 fn main() { }