mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
19 lines
288 B
Rust
19 lines
288 B
Rust
#![feature(tool_lints)]
|
|
|
|
#![warn(clippy::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() {}
|