Skip to content

Commit 86a9959

Browse files
committed
Adjust orphan note in tests
1 parent 9ce811c commit 86a9959

35 files changed

+64
-64
lines changed

tests/ui/coherence/coherence-cow.re_a.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T> Remote for Pair<T,Cover<T>> { }
55
| ^^^^^^^^^^^^^^^^^^^----------------
66
| | |
77
| | `Pair` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-cow.re_b.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T> Remote for Pair<Cover<T>,T> { }
55
| ^^^^^^^^^^^^^^^^^^^----------------
66
| | |
77
| | `Pair` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-cow.re_c.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T,U> Remote for Pair<Cover<T>,U> { }
55
| ^^^^^^^^^^^^^^^^^^^^^----------------
66
| | |
77
| | `Pair` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-fundamental-trait-objects.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl Misc for dyn Fundamental<Local> {}
55
| ^^^^^^^^^^^^^^----------------------
66
| | |
77
| | `dyn Fundamental<Local>` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-impl-trait-for-marker-trait-negative.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ LL | impl !Send for dyn Marker2 {}
4141
| ^^^^^^^^^^^^^^^-----------
4242
| | |
4343
| | `dyn Marker2` is not defined in the current crate
44-
| impl doesn't use only types from inside the current crate
44+
| impl doesn't use any uncovered types from inside the current crate
4545
|
4646
= note: define and implement a trait or new type instead
4747

tests/ui/coherence/coherence-impl-trait-for-marker-trait-positive.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ LL | unsafe impl Send for dyn Marker2 {}
4141
| ^^^^^^^^^^^^^^^^^^^^^-----------
4242
| | |
4343
| | `dyn Marker2` is not defined in the current crate
44-
| impl doesn't use only types from inside the current crate
44+
| impl doesn't use any uncovered types from inside the current crate
4545
|
4646
= note: define and implement a trait or new type instead
4747

tests/ui/coherence/coherence-impls-copy.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LL | impl Copy for &'static [NotSync] {}
1515
| ^^^^^^^^^^^^^^------------------
1616
| | |
1717
| | this is not defined in the current crate because slices are always foreign
18-
| impl doesn't use only types from inside the current crate
18+
| impl doesn't use any uncovered types from inside the current crate
1919
|
2020
= note: define and implement a trait or new type instead
2121

@@ -26,7 +26,7 @@ LL | impl Copy for i32 {}
2626
| ^^^^^^^^^^^^^^---
2727
| | |
2828
| | `i32` is not defined in the current crate
29-
| impl doesn't use only types from inside the current crate
29+
| impl doesn't use any uncovered types from inside the current crate
3030
|
3131
= note: define and implement a trait or new type instead
3232

@@ -43,7 +43,7 @@ LL | impl Copy for (MyType, MyType) {}
4343
| ^^^^^^^^^^^^^^----------------
4444
| | |
4545
| | this is not defined in the current crate because tuples are always foreign
46-
| impl doesn't use only types from inside the current crate
46+
| impl doesn't use any uncovered types from inside the current crate
4747
|
4848
= note: define and implement a trait or new type instead
4949

@@ -60,7 +60,7 @@ LL | impl Copy for [MyType] {}
6060
| ^^^^^^^^^^^^^^--------
6161
| | |
6262
| | this is not defined in the current crate because slices are always foreign
63-
| impl doesn't use only types from inside the current crate
63+
| impl doesn't use any uncovered types from inside the current crate
6464
|
6565
= note: define and implement a trait or new type instead
6666

tests/ui/coherence/coherence-impls-send.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | unsafe impl Send for &'static [NotSync] {}
55
| ^^^^^^^^^^^^^^^^^^^^^------------------
66
| | |
77
| | this is not defined in the current crate because slices are always foreign
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

@@ -16,7 +16,7 @@ LL | unsafe impl Send for (MyType, MyType) {}
1616
| ^^^^^^^^^^^^^^^^^^^^^----------------
1717
| | |
1818
| | this is not defined in the current crate because tuples are always foreign
19-
| impl doesn't use only types from inside the current crate
19+
| impl doesn't use any uncovered types from inside the current crate
2020
|
2121
= note: define and implement a trait or new type instead
2222

@@ -33,7 +33,7 @@ LL | unsafe impl Send for [MyType] {}
3333
| ^^^^^^^^^^^^^^^^^^^^^--------
3434
| | |
3535
| | this is not defined in the current crate because slices are always foreign
36-
| impl doesn't use only types from inside the current crate
36+
| impl doesn't use any uncovered types from inside the current crate
3737
|
3838
= note: define and implement a trait or new type instead
3939

tests/ui/coherence/coherence-impls-sized.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ LL | impl Sized for (MyType, MyType) {}
2323
| ^^^^^^^^^^^^^^^----------------
2424
| | |
2525
| | this is not defined in the current crate because tuples are always foreign
26-
| impl doesn't use only types from inside the current crate
26+
| impl doesn't use any uncovered types from inside the current crate
2727
|
2828
= note: define and implement a trait or new type instead
2929

@@ -46,7 +46,7 @@ LL | impl Sized for [MyType] {}
4646
| ^^^^^^^^^^^^^^^--------
4747
| | |
4848
| | this is not defined in the current crate because slices are always foreign
49-
| impl doesn't use only types from inside the current crate
49+
| impl doesn't use any uncovered types from inside the current crate
5050
|
5151
= note: define and implement a trait or new type instead
5252

@@ -63,7 +63,7 @@ LL | impl Sized for &'static [NotSync] {}
6363
| ^^^^^^^^^^^^^^^------------------
6464
| | |
6565
| | this is not defined in the current crate because slices are always foreign
66-
| impl doesn't use only types from inside the current crate
66+
| impl doesn't use any uncovered types from inside the current crate
6767
|
6868
= note: define and implement a trait or new type instead
6969

tests/ui/coherence/coherence-negative-impls-copy-bad.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl !Copy for str {}
55
| ^^^^^^^^^^^^^^^---
66
| | |
77
| | `str` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

@@ -16,7 +16,7 @@ LL | impl !Copy for fn() {}
1616
| ^^^^^^^^^^^^^^^----
1717
| | |
1818
| | `fn()` is not defined in the current crate
19-
| impl doesn't use only types from inside the current crate
19+
| impl doesn't use any uncovered types from inside the current crate
2020
|
2121
= note: define and implement a trait or new type instead
2222

@@ -27,7 +27,7 @@ LL | impl !Copy for () {}
2727
| ^^^^^^^^^^^^^^^--
2828
| | |
2929
| | this is not defined in the current crate because tuples are always foreign
30-
| impl doesn't use only types from inside the current crate
30+
| impl doesn't use any uncovered types from inside the current crate
3131
|
3232
= note: define and implement a trait or new type instead
3333

tests/ui/coherence/coherence-orphan.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | impl TheTrait<usize> for isize {}
66
| | | |
77
| | | `isize` is not defined in the current crate
88
| | `usize` is not defined in the current crate
9-
| impl doesn't use only types from inside the current crate
9+
| impl doesn't use any uncovered types from inside the current crate
1010
|
1111
= note: define and implement a trait or new type instead
1212

@@ -17,7 +17,7 @@ LL | impl !Send for Vec<isize> {}
1717
| ^^^^^^^^^^^^^^^----------
1818
| | |
1919
| | `Vec` is not defined in the current crate
20-
| impl doesn't use only types from inside the current crate
20+
| impl doesn't use any uncovered types from inside the current crate
2121
|
2222
= note: define and implement a trait or new type instead
2323

tests/ui/coherence/coherence-overlapping-pairs.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T> Remote for lib::Pair<T,Foo> { }
55
| ^^^^^^^^^^^^^^^^^^^----------------
66
| | |
77
| | `Pair` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-pair-covered-uncovered-1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | impl<T, U> Remote1<Pair<T, Local<U>>> for i32 { }
66
| | | |
77
| | | `i32` is not defined in the current crate
88
| | `Pair` is not defined in the current crate
9-
| impl doesn't use only types from inside the current crate
9+
| impl doesn't use any uncovered types from inside the current crate
1010
|
1111
= note: define and implement a trait or new type instead
1212

tests/ui/coherence/coherence-pair-covered-uncovered.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T,U> Remote for Pair<T,Local<U>> { }
55
| ^^^^^^^^^^^^^^^^^^^^^----------------
66
| | |
77
| | `Pair` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-vec-local-2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<T> Remote for Vec<Local<T>> { }
55
| ^^^^^^^^^^^^^^^^^^^-------------
66
| | |
77
| | `Vec` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence-vec-local.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl Remote for Vec<Local> { }
55
| ^^^^^^^^^^^^^^^^----------
66
| | |
77
| | `Vec` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence_local_err_struct.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl lib::MyCopy for lib::MyStruct<MyType> { }
55
| ^^^^^^^^^^^^^^^^^^^^^---------------------
66
| | |
77
| | `MyStruct` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/coherence_local_err_tuple.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl lib::MyCopy for (MyType,) { }
55
| ^^^^^^^^^^^^^^^^^^^^^---------
66
| | |
77
| | this is not defined in the current crate because tuples are always foreign
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/impl-foreign-for-foreign.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl Remote for i32 {
55
| ^^^^^^^^^^^^^^^^---
66
| | |
77
| | `i32` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/coherence/impl-foreign-for-foreign[foreign].stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | impl Remote1<Rc<i32>> for i32 {
66
| | | |
77
| | | `i32` is not defined in the current crate
88
| | `Rc` is not defined in the current crate
9-
| impl doesn't use only types from inside the current crate
9+
| impl doesn't use any uncovered types from inside the current crate
1010
|
1111
= note: define and implement a trait or new type instead
1212

@@ -18,7 +18,7 @@ LL | impl Remote1<Rc<Local>> for f64 {
1818
| | | |
1919
| | | `f64` is not defined in the current crate
2020
| | `Rc` is not defined in the current crate
21-
| impl doesn't use only types from inside the current crate
21+
| impl doesn't use any uncovered types from inside the current crate
2222
|
2323
= note: define and implement a trait or new type instead
2424

@@ -30,7 +30,7 @@ LL | impl<T> Remote1<Rc<T>> for f32 {
3030
| | | |
3131
| | | `f32` is not defined in the current crate
3232
| | `Rc` is not defined in the current crate
33-
| impl doesn't use only types from inside the current crate
33+
| impl doesn't use any uncovered types from inside the current crate
3434
|
3535
= note: define and implement a trait or new type instead
3636

tests/ui/coherence/impl-foreign-for-fundamental[foreign].stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | impl Remote for Box<i32> {
66
| | | |
77
| | | `i32` is not defined in the current crate
88
| | `std::alloc::Global` is not defined in the current crate
9-
| impl doesn't use only types from inside the current crate
9+
| impl doesn't use any uncovered types from inside the current crate
1010
|
1111
= note: define and implement a trait or new type instead
1212

@@ -18,7 +18,7 @@ LL | impl<T> Remote for Box<Rc<T>> {
1818
| | | |
1919
| | | `Rc` is not defined in the current crate
2020
| | `std::alloc::Global` is not defined in the current crate
21-
| impl doesn't use only types from inside the current crate
21+
| impl doesn't use any uncovered types from inside the current crate
2222
|
2323
= note: define and implement a trait or new type instead
2424

tests/ui/coherence/impl-foreign[foreign]-for-foreign.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | impl Remote1<u32> for f64 {
66
| | | |
77
| | | `f64` is not defined in the current crate
88
| | `u32` is not defined in the current crate
9-
| impl doesn't use only types from inside the current crate
9+
| impl doesn't use any uncovered types from inside the current crate
1010
|
1111
= note: define and implement a trait or new type instead
1212

tests/ui/coherence/impl-foreign[fundemental[foreign]]-for-foreign.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | impl Remote1<Box<String>> for i32 {
77
| | | `i32` is not defined in the current crate
88
| | `String` is not defined in the current crate
99
| | `std::alloc::Global` is not defined in the current crate
10-
| impl doesn't use only types from inside the current crate
10+
| impl doesn't use any uncovered types from inside the current crate
1111
|
1212
= note: define and implement a trait or new type instead
1313

@@ -20,7 +20,7 @@ LL | impl Remote1<Box<Rc<i32>>> for f64 {
2020
| | | `f64` is not defined in the current crate
2121
| | `Rc` is not defined in the current crate
2222
| | `std::alloc::Global` is not defined in the current crate
23-
| impl doesn't use only types from inside the current crate
23+
| impl doesn't use any uncovered types from inside the current crate
2424
|
2525
= note: define and implement a trait or new type instead
2626

@@ -33,7 +33,7 @@ LL | impl<T> Remote1<Box<Rc<T>>> for f32 {
3333
| | | `f32` is not defined in the current crate
3434
| | `Rc` is not defined in the current crate
3535
| | `std::alloc::Global` is not defined in the current crate
36-
| impl doesn't use only types from inside the current crate
36+
| impl doesn't use any uncovered types from inside the current crate
3737
|
3838
= note: define and implement a trait or new type instead
3939

tests/ui/coherence/impl[t]-foreign-for-foreign[t].stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl Remote for Rc<Local> {
55
| ^^^^^^^^^^^^^^^^---------
66
| | |
77
| | `Rc` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

@@ -16,7 +16,7 @@ LL | impl<T> Remote for Arc<T> {
1616
| ^^^^^^^^^^^^^^^^^^^------
1717
| | |
1818
| | `Arc` is not defined in the current crate
19-
| impl doesn't use only types from inside the current crate
19+
| impl doesn't use any uncovered types from inside the current crate
2020
|
2121
= note: define and implement a trait or new type instead
2222

tests/ui/dropck/drop-on-non-struct.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LL | impl<'a> Drop for &'a mut isize {
1111
| ^^^^^^^^^^^^^^^^^^-------------
1212
| | |
1313
| | `isize` is not defined in the current crate
14-
| impl doesn't use only types from inside the current crate
14+
| impl doesn't use any uncovered types from inside the current crate
1515
|
1616
= note: define and implement a trait or new type instead
1717

tests/ui/error-codes/E0117.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl Drop for u32 {}
55
| ^^^^^^^^^^^^^^---
66
| | |
77
| | `u32` is not defined in the current crate
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

tests/ui/error-codes/e0119/complex-impl.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | impl<R> External for (Q, R) {}
55
| ^^^^^^^^^^^^^^^^^^^^^------
66
| | |
77
| | this is not defined in the current crate because tuples are always foreign
8-
| impl doesn't use only types from inside the current crate
8+
| impl doesn't use any uncovered types from inside the current crate
99
|
1010
= note: define and implement a trait or new type instead
1111

0 commit comments

Comments
 (0)