about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorJonathan Birk <jona@jbirk.de>2024-07-30 15:39:04 +0000
committerJonathan Birk <jona@jbirk.de>2024-07-30 17:05:10 +0000
commit86a9959466dd996bd9bc926bd79289fdf7f1790d (patch)
tree13a2044720abc4cc509ca1c585a6291da291e10a /tests/ui/error-codes
parent9ce811cd004e4f1bb7042d0f3fa4b54ffbe9421f (diff)
downloadrust-86a9959466dd996bd9bc926bd79289fdf7f1790d.tar.gz
rust-86a9959466dd996bd9bc926bd79289fdf7f1790d.zip
Adjust orphan note in tests
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0117.stderr2
-rw-r--r--tests/ui/error-codes/e0119/complex-impl.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/error-codes/E0117.stderr b/tests/ui/error-codes/E0117.stderr
index f144aa9f72c..86328e8131a 100644
--- a/tests/ui/error-codes/E0117.stderr
+++ b/tests/ui/error-codes/E0117.stderr
@@ -5,7 +5,7 @@ LL | impl Drop for u32 {}
    | ^^^^^^^^^^^^^^---
    | |             |
    | |             `u32` is not defined in the current crate
-   | impl doesn't use only types from inside the current crate
+   | impl doesn't use any uncovered types from inside the current crate
    |
    = note: define and implement a trait or new type instead
 
diff --git a/tests/ui/error-codes/e0119/complex-impl.stderr b/tests/ui/error-codes/e0119/complex-impl.stderr
index c0519c60e42..6562593adfa 100644
--- a/tests/ui/error-codes/e0119/complex-impl.stderr
+++ b/tests/ui/error-codes/e0119/complex-impl.stderr
@@ -5,7 +5,7 @@ LL | impl<R> External for (Q, R) {}
    | ^^^^^^^^^^^^^^^^^^^^^------
    | |                    |
    | |                    this is not defined in the current crate because tuples are always foreign
-   | impl doesn't use only types from inside the current crate
+   | impl doesn't use any uncovered types from inside the current crate
    |
    = note: define and implement a trait or new type instead