rust/tests/ui/builtin-type-shadow.rs
2017-02-08 14:58:07 +01:00

12 lines
151 B
Rust

#![feature(plugin)]
#![plugin(clippy)]
#![deny(builtin_type_shadow)]
fn foo<u32>(a: u32) -> u32 {
42
// ^ rustc's type error
}
fn main() {
}