fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
397 B13 linesraw
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() {}