mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 09:03:18 +00:00
14 lines
223 B
Rust
14 lines
223 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
#![deny(stutter)]
|
|
#![allow(dead_code)]
|
|
|
|
mod foo {
|
|
pub fn foo() {}
|
|
pub fn foo_bar() {}
|
|
pub fn bar_foo() {}
|
|
pub struct FooCake {}
|
|
pub enum CakeFoo {}
|
|
}
|
|
|
|
fn main() {}
|