]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/span/multiline-span-simple.stderr
tests: fix fallout from changing the span of binop errors.
[rust.git] / src / test / ui / span / multiline-span-simple.stderr
index 057f8fe6ee274f6e22b6682013bc04be2e3a2488..0224cef8da123cbc4eaed2ec89cdb5d35414373b 100644 (file)
@@ -1,13 +1,8 @@
 error[E0277]: the trait bound `u32: std::ops::Add<()>` is not satisfied
-  --> $DIR/multiline-span-simple.rs:23:9
+  --> $DIR/multiline-span-simple.rs:23:18
    |
-23 |       foo(1 as u32 +
-   |  _________^
-24 | |
-25 | |         bar(x,
-26 | |
-27 | |             y),
-   | |______________^ no implementation for `u32 + ()`
+23 |     foo(1 as u32 +
+   |                  ^ no implementation for `u32 + ()`
    |
    = help: the trait `std::ops::Add<()>` is not implemented for `u32`