2016-08-28 01:52:01 +02:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![plugin(clippy)]
|
2017-05-17 14:19:44 +02:00
|
|
|
#![warn(builtin_type_shadow)]
|
2016-08-28 01:52:01 +02:00
|
|
|
|
2017-02-08 14:58:07 +01:00
|
|
|
fn foo<u32>(a: u32) -> u32 {
|
|
|
|
42
|
2016-08-28 01:52:01 +02:00
|
|
|
// ^ rustc's type error
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|