Files
rust/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
375 B
Plaintext
Raw Normal View History

2021-10-03 17:58:10 +02:00
error[E0568]: auto traits cannot have super traits or lifetime bounds
--> $DIR/supertrait-auto-trait.rs:8:19
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | auto trait Magic: Copy {}
| ----- ^^^^
| |
| auto traits cannot have super traits or lifetime bounds
2018-08-08 14:28:26 +02:00
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0568`.