Skip to content

Commit 69e465a

Browse files
committed
Adjust UI test output for Arc being #[fundamental]
1 parent 0155997 commit 69e465a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/ui/issues/issue-41974.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `std::boxed::Box<_>`:
1+
error[E0119]: conflicting implementations of trait `std::ops::Drop` for type `std::sync::Arc<_>`:
22
--> $DIR/issue-41974.rs:17:1
33
|
44
LL | impl<T> Drop for T where T: A { //~ ERROR E0119
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: conflicting implementation in crate `alloc`:
8-
- impl<T> std::ops::Drop for std::boxed::Box<T>
8+
- impl<T> std::ops::Drop for std::sync::Arc<T>
99
where T: ?Sized;
10-
= note: downstream crates may implement trait `A` for type `std::boxed::Box<_>`
10+
= note: downstream crates may implement trait `A` for type `std::sync::Arc<_>`
1111

1212
error[E0120]: the Drop trait may only be implemented on structures
1313
--> $DIR/issue-41974.rs:17:18

0 commit comments

Comments
 (0)