diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-10-21 19:41:27 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-10-31 17:34:46 +0200 |
| commit | 1a7fb7dc78439a704f024609ce3dc0beb1386552 (patch) | |
| tree | 36cc8c955e7c5e8e6dbdf1ca88d26ea1ea6ab022 /src/test/ui | |
| parent | 6713736275181abb3304730603afd785b0470ae3 (diff) | |
| download | rust-1a7fb7dc78439a704f024609ce3dc0beb1386552.tar.gz rust-1a7fb7dc78439a704f024609ce3dc0beb1386552.zip | |
rustc_typeck: use subtyping on the LHS of binops.
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/span/issue-39018.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/span/issue-39018.stderr b/src/test/ui/span/issue-39018.stderr index d87fc122d8e..2782753f6c8 100644 --- a/src/test/ui/span/issue-39018.stderr +++ b/src/test/ui/span/issue-39018.stderr @@ -1,4 +1,4 @@ -error[E0369]: binary operation `+` cannot be applied to type `&'static str` +error[E0369]: binary operation `+` cannot be applied to type `&str` --> $DIR/issue-39018.rs:12:13 | 12 | let x = "Hello " + "World!"; |
