11error[E0277]: the trait bound `Self: std::marker::Copy` is not satisfied
2- --> $DIR/defaults-unsound-62211-1.rs:20 :18
2+ --> $DIR/defaults-unsound-62211-1.rs:23 :18
33 |
44LL | type Output: Copy
55 | ^^^^ the trait `std::marker::Copy` is not implemented for `Self`
66 |
77 = help: consider adding a `where Self: std::marker::Copy` bound
88note: required by `UncheckedCopy`
9- --> $DIR/defaults-unsound-62211-1.rs:17 :1
9+ --> $DIR/defaults-unsound-62211-1.rs:20 :1
1010 |
1111LL | trait UncheckedCopy: Sized {
1212 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1313
1414error[E0277]: cannot add-assign `&'static str` to `Self`
15- --> $DIR/defaults-unsound-62211-1.rs:24 :7
15+ --> $DIR/defaults-unsound-62211-1.rs:27 :7
1616 |
1717LL | + AddAssign<&'static str>
1818 | ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Self += &'static str`
1919 |
2020 = help: the trait `std::ops::AddAssign<&'static str>` is not implemented for `Self`
2121 = help: consider adding a `where Self: std::ops::AddAssign<&'static str>` bound
2222note: required by `UncheckedCopy`
23- --> $DIR/defaults-unsound-62211-1.rs:17 :1
23+ --> $DIR/defaults-unsound-62211-1.rs:20 :1
2424 |
2525LL | trait UncheckedCopy: Sized {
2626 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2727
2828error[E0277]: the trait bound `Self: std::ops::Deref` is not satisfied
29- --> $DIR/defaults-unsound-62211-1.rs:22 :7
29+ --> $DIR/defaults-unsound-62211-1.rs:25 :7
3030 |
3131LL | + Deref<Target = str>
3232 | ^^^^^^^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `Self`
3333 |
3434 = help: consider adding a `where Self: std::ops::Deref` bound
3535note: required by `UncheckedCopy`
36- --> $DIR/defaults-unsound-62211-1.rs:17 :1
36+ --> $DIR/defaults-unsound-62211-1.rs:20 :1
3737 |
3838LL | trait UncheckedCopy: Sized {
3939 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
4040
4141error[E0277]: `Self` doesn't implement `std::fmt::Display`
42- --> $DIR/defaults-unsound-62211-1.rs:27 :7
42+ --> $DIR/defaults-unsound-62211-1.rs:30 :7
4343 |
4444LL | + Display = Self;
4545 | ^^^^^^^ `Self` cannot be formatted with the default formatter
@@ -48,13 +48,13 @@ LL | + Display = Self;
4848 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
4949 = help: consider adding a `where Self: std::fmt::Display` bound
5050note: required by `UncheckedCopy`
51- --> $DIR/defaults-unsound-62211-1.rs:17 :1
51+ --> $DIR/defaults-unsound-62211-1.rs:20 :1
5252 |
5353LL | trait UncheckedCopy: Sized {
5454 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
5555
5656error[E0277]: `T` doesn't implement `std::fmt::Display`
57- --> $DIR/defaults-unsound-62211-1.rs:40 :9
57+ --> $DIR/defaults-unsound-62211-1.rs:43 :9
5858 |
5959LL | impl<T> UncheckedCopy for T {}
6060 | ^^^^^^^^^^^^^ `T` cannot be formatted with the default formatter
@@ -64,15 +64,15 @@ LL | impl<T> UncheckedCopy for T {}
6464 = help: consider adding a `where T: std::fmt::Display` bound
6565
6666error[E0277]: the trait bound `T: std::ops::Deref` is not satisfied
67- --> $DIR/defaults-unsound-62211-1.rs:40 :9
67+ --> $DIR/defaults-unsound-62211-1.rs:43 :9
6868 |
6969LL | impl<T> UncheckedCopy for T {}
7070 | ^^^^^^^^^^^^^ the trait `std::ops::Deref` is not implemented for `T`
7171 |
7272 = help: consider adding a `where T: std::ops::Deref` bound
7373
7474error[E0277]: cannot add-assign `&'static str` to `T`
75- --> $DIR/defaults-unsound-62211-1.rs:40 :9
75+ --> $DIR/defaults-unsound-62211-1.rs:43 :9
7676 |
7777LL | impl<T> UncheckedCopy for T {}
7878 | ^^^^^^^^^^^^^ no implementation for `T += &'static str`
@@ -81,7 +81,7 @@ LL | impl<T> UncheckedCopy for T {}
8181 = help: consider adding a `where T: std::ops::AddAssign<&'static str>` bound
8282
8383error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
84- --> $DIR/defaults-unsound-62211-1.rs:40 :9
84+ --> $DIR/defaults-unsound-62211-1.rs:43 :9
8585 |
8686LL | impl<T> UncheckedCopy for T {}
8787 | ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
0 commit comments