]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27340.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-27340.stderr
1 error[E0204]: the trait `Copy` may not be implemented for this type
2   --> $DIR/issue-27340.rs:2:10
3    |
4 LL | #[derive(Copy, Clone)]
5    |          ^^^^
6 LL |
7 LL | struct Bar(Foo);
8    |            --- this field does not implement `Copy`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0204`.