diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-13 05:26:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-13 05:26:46 +0100 |
| commit | d3cb51c8702d1da709e26b6b8aa6a567b11c5a47 (patch) | |
| tree | 9645fae4aa284ac03bded44e7d783440477a0d06 /src/test/ui/error-codes | |
| parent | 5560d4d6d7685b7eb9425d8d54c346157471a0ad (diff) | |
| parent | 6a790d3786f4a4d499991ad4bc52f9eba1771728 (diff) | |
| download | rust-d3cb51c8702d1da709e26b6b8aa6a567b11c5a47.tar.gz rust-d3cb51c8702d1da709e26b6b8aa6a567b11c5a47.zip | |
Rollup merge of #57412 - JohnTitor:improve-the-wording-1, r=varkor
Improve the wording I'm sorry but re-opened the PR because I failed to squash commits(#57397). Fixes #55752. r? @varkor
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0117.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0206.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0117.stderr b/src/test/ui/error-codes/E0117.stderr index 8e32db49ced..b007ca05ab2 100644 --- a/src/test/ui/error-codes/E0117.stderr +++ b/src/test/ui/error-codes/E0117.stderr @@ -10,7 +10,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar LL | impl Drop for u32 {} //~ ERROR E0117 | ^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate | - = note: the impl does not reference any types defined in this crate + = note: the impl does not reference only types defined in this crate = note: define and implement a trait or new type instead error: aborting due to 2 previous errors diff --git a/src/test/ui/error-codes/E0206.stderr b/src/test/ui/error-codes/E0206.stderr index 499c6ae3f88..a0c4b0149a0 100644 --- a/src/test/ui/error-codes/E0206.stderr +++ b/src/test/ui/error-codes/E0206.stderr @@ -16,7 +16,7 @@ error[E0117]: only traits defined in the current crate can be implemented for ar LL | impl Copy for Foo { } | ^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate | - = note: the impl does not reference any types defined in this crate + = note: the impl does not reference only types defined in this crate = note: define and implement a trait or new type instead error: aborting due to 3 previous errors |
