about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/more-object-bound.stderr
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-01-24 02:52:29 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-01-24 02:53:15 +0000
commita9841936fe25d3d2841a02abfdb2da2342a3dbcf (patch)
tree70fe579803d4eed1718eb9cf78808339db8e9830 /tests/ui/traits/next-solver/more-object-bound.stderr
parent0b7730105fb7e008002f6ba29f87a55699f67744 (diff)
downloadrust-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.stderr2
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