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