File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ LL | impl Copy for &'static NotSync {}
1414 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515 |
1616 = note: conflicting implementation in crate `core`:
17- - impl<'a , T> std::marker::Copy for &'a T
17+ - impl<'_ , T> std::marker::Copy for &T
1818 where T: ?Sized;
1919
2020error[E0119]: conflicting implementations of trait `std::marker::Copy` for type `&[NotSync]`:
@@ -24,7 +24,7 @@ LL | impl Copy for &'static [NotSync] {}
2424 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525 |
2626 = note: conflicting implementation in crate `core`:
27- - impl<'a , T> std::marker::Copy for &'a T
27+ - impl<'_ , T> std::marker::Copy for &T
2828 where T: ?Sized;
2929
3030error[E0206]: the trait `Copy` may not be implemented for this type
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ LL | impl<Foo> Deref for Foo { } //~ ERROR must be used
55 | ^^^^^^^^^^^^^^^^^^^^^^^
66 |
77 = note: conflicting implementation in crate `core`:
8- - impl<'a , T> std::ops::Deref for &'a T
8+ - impl<'_ , T> std::ops::Deref for &T
99 where T: ?Sized;
1010
1111error[E0210]: type parameter `Foo` must be used as the type parameter for some local type (e.g. `MyStruct<Foo>`)
You can’t perform that action at this time.
0 commit comments