mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
18 lines
257 B
Rust
18 lines
257 B
Rust
|
|
|
|
#![warn(stutter)]
|
|
#![allow(dead_code)]
|
|
|
|
mod foo {
|
|
pub fn foo() {}
|
|
pub fn foo_bar() {}
|
|
pub fn bar_foo() {}
|
|
pub struct FooCake {}
|
|
pub enum CakeFoo {}
|
|
pub struct Foo7Bar;
|
|
|
|
// Should not warn
|
|
pub struct Foobar;
|
|
}
|
|
|
|
fn main() {}
|