mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +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() {}
|