File tree 2 files changed +3
-3
lines changed
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 {}
14
14
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
15
|
16
16
= note: conflicting implementation in crate `core`:
17
- - impl<'a , T> std::marker::Copy for &'a T
17
+ - impl<'_ , T> std::marker::Copy for &T
18
18
where T: ?Sized;
19
19
20
20
error[E0119]: conflicting implementations of trait `std::marker::Copy` for type `&[NotSync]`:
@@ -24,7 +24,7 @@ LL | impl Copy for &'static [NotSync] {}
24
24
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25
25
|
26
26
= note: conflicting implementation in crate `core`:
27
- - impl<'a , T> std::marker::Copy for &'a T
27
+ - impl<'_ , T> std::marker::Copy for &T
28
28
where T: ?Sized;
29
29
30
30
error[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
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^
6
6
|
7
7
= note: conflicting implementation in crate `core`:
8
- - impl<'a , T> std::ops::Deref for &'a T
8
+ - impl<'_ , T> std::ops::Deref for &T
9
9
where T: ?Sized;
10
10
11
11
error[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