diff options
| author | Alex Macleod <alex@macleod.io> | 2024-06-07 14:54:42 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2024-06-12 12:34:47 +0000 |
| commit | d0112c68498470fe2945956b7ed24c5053cbf182 (patch) | |
| tree | 3bc761dce6745fa2ca40f7759b7c712036636702 /tests/ui/impl-trait/equality.stderr | |
| parent | 02c7a5921e3de5c2b3ecb2e0082c1dafce0729a1 (diff) | |
| download | rust-d0112c68498470fe2945956b7ed24c5053cbf182.tar.gz rust-d0112c68498470fe2945956b7ed24c5053cbf182.zip | |
Spell out other trait diagnostic
Diffstat (limited to 'tests/ui/impl-trait/equality.stderr')
| -rw-r--r-- | tests/ui/impl-trait/equality.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/impl-trait/equality.stderr b/tests/ui/impl-trait/equality.stderr index 69f4cbbbf42..12d886a0024 100644 --- a/tests/ui/impl-trait/equality.stderr +++ b/tests/ui/impl-trait/equality.stderr @@ -30,10 +30,10 @@ LL | n + sum_to(n - 1) | = help: the trait `Add<impl Foo>` is not implemented for `u32` = help: the following other types implement trait `Add<Rhs>`: - <&'a u32 as Add<u32>> - <&u32 as Add<&u32>> - <u32 as Add<&u32>> - <u32 as Add> + `&'a u32` implements `Add<u32>` + `&u32` implements `Add<&u32>` + `u32` implements `Add<&u32>` + `u32` implements `Add` error: aborting due to 2 previous errors; 1 warning emitted |
