1 error[E0277]: the trait bound `Self: std::marker::Copy` is not satisfied
2 --> $DIR/defaults-unsound-62211-1.rs:23:18
4 LL | trait UncheckedCopy: Sized {
5 | -------------------------- required by `UncheckedCopy`
8 | ^^^^ the trait `std::marker::Copy` is not implemented for `Self`
10 error[E0277]: cannot add-assign `&'static str` to `Self`
11 --> $DIR/defaults-unsound-62211-1.rs:27:7
13 LL | trait UncheckedCopy: Sized {
14 | -------------------------- required by `UncheckedCopy`
16 LL | + AddAssign<&'static str>
17 | ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Self += &'static str`
19 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `Self`
21 error[E0277]: the trait bound `Self: std::ops::Deref` is not satisfied
22 --> $DIR/defaults-unsound-62211-1.rs:25:7
24 LL | trait UncheckedCopy: Sized {
25 | -------------------------- required by `UncheckedCopy`
27 LL | + Deref<Target = str>
28 | ^^^^^^^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `Self`
30 error[E0277]: `Self` doesn't implement `std::fmt::Display`
31 --> $DIR/defaults-unsound-62211-1.rs:30:7
33 LL | trait UncheckedCopy: Sized {
34 | -------------------------- required by `UncheckedCopy`
36 LL | + Display = Self;
37 | ^^^^^^^ `Self` cannot be formatted with the default formatter
39 = help: the trait `std::fmt::Display` is not implemented for `Self`
40 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
42 error[E0277]: `T` doesn't implement `std::fmt::Display`
43 --> $DIR/defaults-unsound-62211-1.rs:43:9
45 LL | impl<T> UncheckedCopy for T {}
46 | - ^^^^^^^^^^^^^ `T` cannot be formatted with the default formatter
48 | help: consider restricting this bound: `T: std::fmt::Display`
50 = help: the trait `std::fmt::Display` is not implemented for `T`
51 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
53 error[E0277]: the trait bound `T: std::ops::Deref` is not satisfied
54 --> $DIR/defaults-unsound-62211-1.rs:43:9
56 LL | impl<T> UncheckedCopy for T {}
57 | - ^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `T`
59 | help: consider restricting this bound: `T: std::ops::Deref`
61 error[E0277]: cannot add-assign `&'static str` to `T`
62 --> $DIR/defaults-unsound-62211-1.rs:43:9
64 LL | impl<T> UncheckedCopy for T {}
65 | - ^^^^^^^^^^^^^ no implementation for `T += &'static str`
67 | help: consider restricting this bound: `T: std::ops::AddAssign<&'static str>`
69 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `T`
71 error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
72 --> $DIR/defaults-unsound-62211-1.rs:43:9
74 LL | impl<T> UncheckedCopy for T {}
75 | - ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
77 | help: consider restricting this bound: `T: std::marker::Copy`
79 error: aborting due to 8 previous errors
81 For more information about this error, try `rustc --explain E0277`.