diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-01-24 02:52:29 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-01-24 02:53:15 +0000 |
| commit | a9841936fe25d3d2841a02abfdb2da2342a3dbcf (patch) | |
| tree | 70fe579803d4eed1718eb9cf78808339db8e9830 /tests/ui/traits/next-solver/more-object-bound.stderr | |
| parent | 0b7730105fb7e008002f6ba29f87a55699f67744 (diff) | |
| download | rust-a9841936fe25d3d2841a02abfdb2da2342a3dbcf.tar.gz rust-a9841936fe25d3d2841a02abfdb2da2342a3dbcf.zip | |
Deduplicate more sized errors on call exprs
Change the implicit `Sized` `Obligation` `Span` for call expressions to include the whole expression. This aids the existing deduplication machinery to reduce the number of errors caused by a single unsized expression.
Diffstat (limited to 'tests/ui/traits/next-solver/more-object-bound.stderr')
| -rw-r--r-- | tests/ui/traits/next-solver/more-object-bound.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/next-solver/more-object-bound.stderr b/tests/ui/traits/next-solver/more-object-bound.stderr index e3be2931e12..1b776d7198e 100644 --- a/tests/ui/traits/next-solver/more-object-bound.stderr +++ b/tests/ui/traits/next-solver/more-object-bound.stderr @@ -2,7 +2,7 @@ error[E0277]: the trait bound `dyn Trait<A = A, B = B>: Trait` is not satisfied --> $DIR/more-object-bound.rs:12:5 | LL | foo::<A, B, dyn Trait<A = A, B = B>>(x) - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `dyn Trait<A = A, B = B>` + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Trait` is not implemented for `dyn Trait<A = A, B = B>` | note: required by a bound in `foo` --> $DIR/more-object-bound.rs:18:8 |
