2024-06-17 15:14:07 +00: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
|
2024-06-17 15:14:07 +00: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
|
2024-06-17 15:14:07 +00:00
|
|
|
│
|
|
|
|
|
╰ 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!";
|
|
|
|
|
╰╴ +++++++++++
|
|
|
|
|
|
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 │ …xxxxxxxxxxxxxxxxxxxxxx"; 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
|
2024-06-17 15:14:07 +00:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|