diff options
| author | Alex Burka <alex@alexburka.com> | 2017-02-09 20:37:59 +0000 |
|---|---|---|
| committer | Alex Burka <alex@alexburka.com> | 2017-02-09 22:45:42 +0000 |
| commit | 9fffd14171704eb4c2e0f658fc3dcc25f97ccc60 (patch) | |
| tree | 3bf2b357d2e9776d043b563c696e0a549d3b6ae7 /src/test/parse-fail | |
| parent | e7fc53b8f0595d9b5be6a3b64d29d3cfed7c7199 (diff) | |
| download | rust-9fffd14171704eb4c2e0f658fc3dcc25f97ccc60.tar.gz rust-9fffd14171704eb4c2e0f658fc3dcc25f97ccc60.zip | |
change span_notes to notes in E0368/E0369
Diffstat (limited to 'src/test/parse-fail')
| -rw-r--r-- | src/test/parse-fail/issue-39018.stderr | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/test/parse-fail/issue-39018.stderr b/src/test/parse-fail/issue-39018.stderr deleted file mode 100644 index ee1a32c4c16..00000000000 --- a/src/test/parse-fail/issue-39018.stderr +++ /dev/null @@ -1,28 +0,0 @@ -error[E0369]: binary operation `+` cannot be applied to type `&'static str` - --> src/test/ui/span/issue-39018.rs:2:13 - | -2 | let x = "Hello " + "World!"; - | ^^^^^^^^ - | -note: `+` can't be used to concatenate two `&str` strings - --> src/test/ui/span/issue-39018.rs:2:13 - | -2 | let x = "Hello " + "World!"; - | ^^^^^^^^ -help: to_owned() can be used to create an owned `String` from a string reference. This allows concatenation since the `String` is owned. - | let x = "Hello ".to_owned() + "World!"; - -error[E0369]: binary operation `+` cannot be applied to type `World` - --> src/test/ui/span/issue-39018.rs:7:13 - | -7 | let y = World::Hello + World::Goodbye; - | ^^^^^^^^^^^^ - | -note: an implementation of `std::ops::Add` might be missing for `World` - --> src/test/ui/span/issue-39018.rs:7:13 - | -7 | let y = World::Hello + World::Goodbye; - | ^^^^^^^^^^^^ - -error: aborting due to 2 previous errors - |
