@@ -6,11 +6,7 @@ LL | auto trait Generic<T> {}
66 | |
77 | auto trait cannot have generic parameters
88 |
9- help: remove the parameters
10- |
11- LL - auto trait Generic<T> {}
12- LL + auto trait Generic {}
13- |
9+ = help: remove the parameters
1410
1511error[E0568]: auto traits cannot have super traits or lifetime bounds
1612 --> $DIR/auto-trait-validation.rs:8:20
@@ -20,11 +16,7 @@ LL | auto trait Bound : Copy {}
2016 | |
2117 | auto traits cannot have super traits or lifetime bounds
2218 |
23- help: remove the super traits or lifetime bounds
24- |
25- LL - auto trait Bound : Copy {}
26- LL + auto trait Bound {}
27- |
19+ = help: remove the super traits or lifetime bounds
2820
2921error[E0568]: auto traits cannot have super traits or lifetime bounds
3022 --> $DIR/auto-trait-validation.rs:10:28
@@ -34,11 +26,7 @@ LL | auto trait LifetimeBound : 'static {}
3426 | |
3527 | auto traits cannot have super traits or lifetime bounds
3628 |
37- help: remove the super traits or lifetime bounds
38- |
39- LL - auto trait LifetimeBound : 'static {}
40- LL + auto trait LifetimeBound {}
41- |
29+ = help: remove the super traits or lifetime bounds
4230
4331error[E0380]: auto traits cannot have associated items
4432 --> $DIR/auto-trait-validation.rs:12:25
0 commit comments