diff options
Diffstat (limited to 'src/test/ui/error-codes/E0206.stderr')
-rw-r--r-- | src/test/ui/error-codes/E0206.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0206.stderr b/src/test/ui/error-codes/E0206.stderr new file mode 100644 index 000000000..57ae2647d --- /dev/null +++ b/src/test/ui/error-codes/E0206.stderr @@ -0,0 +1,9 @@ +error[E0206]: the trait `Copy` may not be implemented for this type + --> $DIR/E0206.rs:4:15 + | +LL | impl Copy for &'static mut Bar { } + | ^^^^^^^^^^^^^^^^ type is not a structure or enumeration + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0206`. |