diff options
Diffstat (limited to 'tests/ui/derive_nonclone.stderr')
-rw-r--r-- | tests/ui/derive_nonclone.stderr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/derive_nonclone.stderr b/tests/ui/derive_nonclone.stderr new file mode 100644 index 00000000..04eae4fd --- /dev/null +++ b/tests/ui/derive_nonclone.stderr @@ -0,0 +1,7 @@ +error[E0277]: the trait bound `ffi::Other: Clone` is not satisfied + --> $DIR/derive_nonclone.rs:5:9 + | +5 | other: Other, + | ^^^^^^^^^^^^ the trait `Clone` is not implemented for `ffi::Other` + | + = note: required by `clone` |