]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0568]: auto traits cannot have super traits |
ba9703b0 | 2 | --> $DIR/typeck-auto-trait-no-supertraits-2.rs:4:20 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | auto trait Magic : Sized where Option<Self> : Magic {} |
ba9703b0 XL |
5 | | ----- ^^^^^ help: remove the super traits |
6 | | | | |
7 | | auto trait cannot have super traits | |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
e74abb32 | 11 | For more information about this error, try `rustc --explain E0568`. |