summaryrefslogtreecommitdiffstats
path: root/tests/ui/auto-traits/issue-84075.stderr
blob: 02dca598ec25099442c278807797096bb281eaf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0568]: auto traits cannot have super traits or lifetime bounds
  --> $DIR/issue-84075.rs:5:18
   |
LL | auto trait Magic where Self: Copy {}
   |            ----- ^^^^^^^^^^^^^^^^ help: remove the super traits or lifetime bounds
   |            |
   |            auto trait cannot have super traits or lifetime bounds

error: aborting due to previous error

For more information about this error, try `rustc --explain E0568`.