]> 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 1fbe79d6d980c654842061ff83a41e91c028b007..0224cef8da123cbc4eaed2ec89cdb5d35414373b 100644 (file)
@@ -1,15 +1,10 @@
 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),
-   | |______________^ the trait `std::ops::Add<()>` is not implemented for `u32`
+23 |     foo(1 as u32 +
+   |                  ^ no implementation for `u32 + ()`
    |
-   = note: no implementation for `u32 + ()`
+   = help: the trait `std::ops::Add<()>` is not implemented for `u32`
 
 error: aborting due to previous error(s)