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 = help: consider adding a `where Self: std::marker::Copy` bound
12 error[E0277]: cannot add-assign `&'static str` to `Self`
13 --> $DIR/defaults-unsound-62211-1.rs:27:7
15 LL | trait UncheckedCopy: Sized {
16 | -------------------------- required by `UncheckedCopy`
18 LL | + AddAssign<&'static str>
19 | ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Self += &'static str`
21 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `Self`
22 = help: consider adding a `where Self: std::ops::AddAssign<&'static str>` bound
24 error[E0277]: the trait bound `Self: std::ops::Deref` is not satisfied
25 --> $DIR/defaults-unsound-62211-1.rs:25:7
27 LL | trait UncheckedCopy: Sized {
28 | -------------------------- required by `UncheckedCopy`
30 LL | + Deref<Target = str>
31 | ^^^^^^^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `Self`
33 = help: consider adding a `where Self: std::ops::Deref` bound
35 error[E0277]: `Self` doesn't implement `std::fmt::Display`
36 --> $DIR/defaults-unsound-62211-1.rs:30:7
38 LL | trait UncheckedCopy: Sized {
39 | -------------------------- required by `UncheckedCopy`
41 LL | + Display = Self;
42 | ^^^^^^^ `Self` cannot be formatted with the default formatter
44 = help: the trait `std::fmt::Display` is not implemented for `Self`
45 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
46 = help: consider adding a `where Self: std::fmt::Display` bound
48 error[E0277]: `T` doesn't implement `std::fmt::Display`
49 --> $DIR/defaults-unsound-62211-1.rs:43:9
51 LL | impl<T> UncheckedCopy for T {}
52 | ^^^^^^^^^^^^^ `T` cannot be formatted with the default formatter
54 = help: the trait `std::fmt::Display` is not implemented for `T`
55 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
56 = help: consider adding a `where T: std::fmt::Display` bound
58 error[E0277]: the trait bound `T: std::ops::Deref` is not satisfied
59 --> $DIR/defaults-unsound-62211-1.rs:43:9
61 LL | impl<T> UncheckedCopy for T {}
62 | ^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `T`
64 = help: consider adding a `where T: std::ops::Deref` bound
66 error[E0277]: cannot add-assign `&'static str` to `T`
67 --> $DIR/defaults-unsound-62211-1.rs:43:9
69 LL | impl<T> UncheckedCopy for T {}
70 | ^^^^^^^^^^^^^ no implementation for `T += &'static str`
72 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `T`
73 = help: consider adding a `where T: std::ops::AddAssign<&'static str>` bound
75 error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
76 --> $DIR/defaults-unsound-62211-1.rs:43:9
78 LL | impl<T> UncheckedCopy for T {}
79 | ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
81 = help: consider adding a `where T: std::marker::Copy` bound
83 error: aborting due to 8 previous errors
85 For more information about this error, try `rustc --explain E0277`.