Skip to content

Commit d38a59f

Browse files
committed
fix test output changing in rebase
1 parent de6566c commit d38a59f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/coherence/coherence-impl-trait-for-marker-trait-negative.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
1616
LL | impl !Send for dyn Marker2 {} //~ ERROR E0117
1717
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate
1818
|
19-
= note: the impl does not reference any types defined in this crate
19+
= note: the impl does not reference only types defined in this crate
2020
= note: define and implement a trait or new type instead
2121

2222
error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`, can only be implemented for a struct/enum type, not `(dyn Object + 'static)`

src/test/ui/coherence/coherence-impl-trait-for-marker-trait-positive.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar
1616
LL | unsafe impl Send for dyn Marker2 {} //~ ERROR E0117
1717
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate
1818
|
19-
= note: the impl does not reference any types defined in this crate
19+
= note: the impl does not reference only types defined in this crate
2020
= note: define and implement a trait or new type instead
2121

2222
error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`, can only be implemented for a struct/enum type, not `(dyn Object + 'static)`

0 commit comments

Comments
 (0)