We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0155997 commit 69e465aCopy full SHA for 69e465a
src/test/ui/issues/issue-41974.stderr
@@ -1,13 +1,13 @@
1
-error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `std::boxed::Box<_>`:
+error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `std::sync::Arc<_>`:
2
--> $DIR/issue-41974.rs:17:1
3
|
4
LL | impl<T> Drop for T where T: A { //~ ERROR E0119
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7
= note: conflicting implementation in crate `alloc`:
8
- - impl<T> std::ops::Drop for std::boxed::Box<T>
+ - impl<T> std::ops::Drop for std::sync::Arc<T>
9
where T: ?Sized;
10
- = note: downstream crates may implement trait `A` for type `std::boxed::Box<_>`
+ = note: downstream crates may implement trait `A` for type `std::sync::Arc<_>`
11
12
error[E0120]: the Drop trait may only be implemented on structures
13
--> $DIR/issue-41974.rs:17:18
0 commit comments