mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +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() {}
|