]> git.lizzy.rs Git - rust.git/blob - src/test/ui/auto-traits/typeck-auto-trait-no-supertraits.stderr
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
[rust.git] / src / test / ui / auto-traits / typeck-auto-trait-no-supertraits.stderr
1 error[E0568]: auto traits cannot have super traits or lifetime bounds
2   --> $DIR/typeck-auto-trait-no-supertraits.rs:28:17
3    |
4 LL | auto trait Magic: Copy {}
5    |            -----^^^^^^ help: remove the super traits or lifetime bounds
6    |            |
7    |            auto trait cannot have super traits or lifetime bounds
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0568`.