diff options
| author | Michael Howell <michael@notriddle.com> | 2021-08-31 08:52:19 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2021-08-31 08:53:23 -0700 |
| commit | 6e70678f7d93ad777297c865e35e005520a4eefb (patch) | |
| tree | c207183ae8c41be39414d713a3860bfc53eff403 /src/test | |
| parent | 435cdd0f9ab2cb02bb475415279f9542efa449a1 (diff) | |
| download | rust-6e70678f7d93ad777297c865e35e005520a4eefb.tar.gz rust-6e70678f7d93ad777297c865e35e005520a4eefb.zip | |
Change wording to less jaron-y "non-auto trait"
Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/coherence/issue-85026.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/coherence/issue-85026.stderr b/src/test/ui/coherence/issue-85026.stderr index cf9cd52d2bf..a5da19bbfaa 100644 --- a/src/test/ui/coherence/issue-85026.stderr +++ b/src/test/ui/coherence/issue-85026.stderr @@ -2,7 +2,7 @@ error[E0785]: cannot define inherent `impl` for a dyn auto trait --> $DIR/issue-85026.rs:5:6 | LL | impl dyn AutoTrait {} - | ^^^^^^^^^^^^^ impl requires a principal trait + | ^^^^^^^^^^^^^ impl requires at least one non-auto trait | = note: define and implement a new trait or type instead @@ -10,7 +10,7 @@ error[E0785]: cannot define inherent `impl` for a dyn auto trait --> $DIR/issue-85026.rs:8:6 | LL | impl dyn Unpin {} - | ^^^^^^^^^ impl requires a principal trait + | ^^^^^^^^^ impl requires at least one non-auto trait | = note: define and implement a new trait or type instead |
