2019-12-10 22:03:13 +01:00
|
|
|
error[E0369]: cannot add `&str` to `&str`
|
2025-02-27 21:12:58 +00:00
|
|
|
--> $DIR/non-1-width-unicode-multiline-label.rs:7:237
|
2019-11-20 23:17:30 +01:00
|
|
|
|
|
2025-02-27 21:12:58 +00:00
|
|
|
LL | ...👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
|
|
|
|
| -------------- ^ -------------- &str
|
|
|
|
|
| | |
|
|
|
|
|
| | `+` cannot be used to concatenate two `&str` strings
|
|
|
|
|
| &str
|
|
|
|
|
|
|
|
|
|
|
= note: string concatenation requires an owned `String` on the left
|
|
|
|
|
help: create an owned `String` from a string reference
|
|
|
|
|
|
|
|
|
|
|
LL | let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun.to_owned() + " really fun!";
|
|
|
|
|
| +++++++++++
|
|
|
|
|
|
|
|
|
|
error[E0369]: cannot add `&str` to `&str`
|
|
|
|
|
--> $DIR/non-1-width-unicode-multiline-label.rs:9:384
|
|
|
|
|
|
|
|
|
|
|
LL | ...👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun + " really fun!";
|
|
|
|
|
| -------------- ^ -------------- &str
|
|
|
|
|
| | |
|
|
|
|
|
| | `+` cannot be used to concatenate two `&str` strings
|
|
|
|
|
| &str
|
|
|
|
|
|
|
|
|
|
|
= note: string concatenation requires an owned `String` on the left
|
|
|
|
|
help: create an owned `String` from a string reference
|
|
|
|
|
|
|
|
|
|
|
LL | let _ = "👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦👨👩👧👦"; let _a = unicode_is_fun.to_owned() + " really fun!";
|
|
|
|
|
| +++++++++++
|
|
|
|
|
|
|
|
|
|
error[E0369]: cannot add `&str` to `&str`
|
|
|
|
|
--> $DIR/non-1-width-unicode-multiline-label.rs:11:260
|
|
|
|
|
|
|
|
|
|
|
LL | ...࿇࿈࿉࿊࿋࿌࿎࿏࿐࿑࿒࿓࿔࿕࿖࿗࿘࿙࿚"; let _a = unicode_is_fun + " really fun!";
|
|
|
|
|
| -------------- ^ -------------- &str
|
|
|
|
|
| | |
|
|
|
|
|
| | `+` cannot be used to concatenate two `&str` strings
|
|
|
|
|
| &str
|
2019-11-20 23:17:30 +01:00
|
|
|
|
|
2022-01-18 16:32:58 -08:00
|
|
|
= note: string concatenation requires an owned `String` on the left
|
2022-01-18 16:38:06 -08:00
|
|
|
help: create an owned `String` from a string reference
|
|
|
|
|
|
|
|
|
|
|
LL | let _ = "ༀ༁༂༃༄༅༆༇༈༉༊་༌།༎༏༐༑༒༓༔༕༖༗༘༙༚༛༜༝༞༟༠༡༢༣༤༥༦༧༨༩༪༫༬༭༮༯༰༱༲༳༴༵༶༷༸༹༺༻༼༽༾༿ཀཁགགྷངཅཆཇཉཊཋཌཌྷཎཏཐདདྷནཔཕབབྷམཙཚཛཛྷཝཞཟའཡརལཤཥསཧཨཀྵཪཫཬཱཱཱིིུུྲྀཷླྀཹེཻོཽཾཿ྄ཱྀྀྂྃ྅྆྇ྈྉྊྋྌྍྎྏྐྑྒྒྷྔྕྖྗྙྚྛྜྜྷྞྟྠྡྡྷྣྤྥྦྦྷྨྩྪྫྫྷྭྮྯྰྱྲླྴྵྶྷྸྐྵྺྻྼ྾྿࿀࿁࿂࿃࿄࿅࿆࿇࿈࿉࿊࿋࿌࿎࿏࿐࿑࿒࿓࿔࿕࿖࿗࿘࿙࿚"; let _a = unicode_is_fun.to_owned() + " really fun!";
|
|
|
|
|
| +++++++++++
|
2019-11-20 23:17:30 +01:00
|
|
|
|
2025-02-27 21:12:58 +00:00
|
|
|
error[E0369]: cannot add `&str` to `&str`
|
|
|
|
|
--> $DIR/non-1-width-unicode-multiline-label.rs:13:219
|
|
|
|
|
|
|
|
|
|
|
LL | ...xxxxxxxxxxxxxxxxxxxx"; let _a = unicode_is_fun + " really fun!";
|
|
|
|
|
| -------------- ^ -------------- &str
|
|
|
|
|
| | |
|
|
|
|
|
| | `+` cannot be used to concatenate two `&str` strings
|
|
|
|
|
| &str
|
|
|
|
|
|
|
|
|
|
|
= note: string concatenation requires an owned `String` on the left
|
|
|
|
|
help: create an owned `String` from a string reference
|
|
|
|
|
|
|
|
|
|
|
LL | let _ = "xxxxxxx👨👩👧👦xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx👨xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; let _a = unicode_is_fun.to_owned() + " really fun!";
|
|
|
|
|
| +++++++++++
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2019-11-20 23:17:30 +01:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|