diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2019-12-11 23:11:32 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2019-12-12 20:56:14 +0100 |
| commit | eac6fac10b572d4912d0bcd455c12909f63914b7 (patch) | |
| tree | 5a3620cace948a87da14c57a3631a09b7dd77e1a /src/test/ui/str | |
| parent | 27810e246c89777f39441d6cc050e540cb2e54e0 (diff) | |
Update tests
Diffstat (limited to 'src/test/ui/str')
| -rw-r--r-- | src/test/ui/str/str-concat-on-double-ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/str/str-concat-on-double-ref.rs b/src/test/ui/str/str-concat-on-double-ref.rs index a671b6e191e..23e5f892062 100644 --- a/src/test/ui/str/str-concat-on-double-ref.rs +++ b/src/test/ui/str/str-concat-on-double-ref.rs @@ -2,6 +2,6 @@ fn main() { let a: &String = &"1".to_owned(); let b: &str = &"2"; let c = a + b; - //~^ ERROR binary operation `+` cannot be applied to type `&std::string::String` + //~^ ERROR cannot add `&str` to `&std::string::String` println!("{:?}", c); } |
