1 error[E0277]: the trait bound `Self: std::marker::Copy` is not satisfied
2 --> $DIR/defaults-unsound-62211-2.rs:21: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-2.rs:25: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-2.rs:23: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-2.rs:28: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-2.rs:41:9
45 LL | impl<T> UncheckedCopy for T {}
46 | ^^^^^^^^^^^^^ `T` cannot be formatted with the default formatter
48 = help: the trait `std::fmt::Display` is not implemented for `T`
49 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
50 help: consider restricting this type parameter with `T: std::fmt::Display`
51 --> $DIR/defaults-unsound-62211-2.rs:41:6
53 LL | impl<T> UncheckedCopy for T {}
56 error[E0277]: the trait bound `T: std::ops::Deref` is not satisfied
57 --> $DIR/defaults-unsound-62211-2.rs:41:9
59 LL | impl<T> UncheckedCopy for T {}
60 | ^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `T`
62 help: consider restricting this type parameter with `T: std::ops::Deref`
63 --> $DIR/defaults-unsound-62211-2.rs:41:6
65 LL | impl<T> UncheckedCopy for T {}
68 error[E0277]: cannot add-assign `&'static str` to `T`
69 --> $DIR/defaults-unsound-62211-2.rs:41:9
71 LL | impl<T> UncheckedCopy for T {}
72 | ^^^^^^^^^^^^^ no implementation for `T += &'static str`
74 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `T`
75 help: consider restricting this type parameter with `T: std::ops::AddAssign<&'static str>`
76 --> $DIR/defaults-unsound-62211-2.rs:41:6
78 LL | impl<T> UncheckedCopy for T {}
81 error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
82 --> $DIR/defaults-unsound-62211-2.rs:41:9
84 LL | impl<T> UncheckedCopy for T {}
85 | ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
87 help: consider restricting this type parameter with `T: std::marker::Copy`
88 --> $DIR/defaults-unsound-62211-2.rs:41:6
90 LL | impl<T> UncheckedCopy for T {}
93 error: aborting due to 8 previous errors
95 For more information about this error, try `rustc --explain E0277`.