fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1#![feature(auto_traits)] 2 3// run-rustfix 4 5auto trait Generic {} 6//~^ auto traits cannot have generic parameters [E0567] 7auto trait Bound {} 8//~^ auto traits cannot have super traits or lifetime bounds [E0568] 9auto trait LifetimeBound {} 10//~^ auto traits cannot have super traits or lifetime bounds [E0568] 11auto trait MyTrait { } 12//~^ auto traits cannot have associated items [E0380] 13fn main() {}