From 1a7fb7dc78439a704f024609ce3dc0beb1386552 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Sat, 21 Oct 2017 19:41:27 +0300 Subject: rustc_typeck: use subtyping on the LHS of binops. --- src/test/ui/span/issue-39018.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui') 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!"; -- cgit 1.4.1-3-g733a5