]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/equality.stderr
tests: fix fallout from changing the span of binop errors.
[rust.git] / src / test / ui / impl-trait / equality.stderr
index a08e77a2151e210c98916a99200a1848e2b9a60e..2206234b77744ca670a8cbaa52049cd86172c6b3 100644 (file)
@@ -8,10 +8,10 @@ error[E0308]: mismatched types
               found type `u32`
 
 error[E0277]: the trait bound `u32: std::ops::Add<impl Foo>` is not satisfied
-  --> $DIR/equality.rs:34:9
+  --> $DIR/equality.rs:34:11
    |
 34 |         n + sum_to(n - 1)
-   |         ^^^^^^^^^^^^^^^^^ no implementation for `u32 + impl Foo`
+   |           ^ no implementation for `u32 + impl Foo`
    |
    = help: the trait `std::ops::Add<impl Foo>` is not implemented for `u32`