mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
14 lines
223 B
Rust
14 lines
223 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
#![warn(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() {}
|