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