rust/src/test/ui/terminal-width/non-1-width-unicode-multiline-label.stderr

16 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-12-10 21:03:13 +00:00
error[E0369]: cannot add `&str` to `&str`
--> $DIR/non-1-width-unicode-multiline-label.rs:5:260
|
2022-01-19 00:32:58 +00:00
LL | ...྅྆྇ྈྉྊྋྌྍྎྏྐྑྒྒྷྔྕྖྗ྘ྙྚྛྜྜྷྞྟྠྡྡྷྣྤྥྦྦྷྨྩྪྫྫྷྭྮྯྰྱྲླྴྵྶྷྸྐྵྺྻྼ྽྾྿࿀࿁࿂࿃࿄࿅࿆࿇࿈࿉࿊࿋࿌࿍࿎...࿒࿓࿔࿕࿖࿗࿘࿙࿚"; let _a = unicode_is_fun + " really fun!";
| ---------------^ -------------- &str
| | ||
| | |`+` cannot be used to concatenate two `&str` strings
| | help: create an owned `String` from a string reference: `.to_owned()`
| &str
|
2022-01-19 00:32:58 +00:00
= note: string concatenation requires an owned `String` on the left
error: aborting due to previous error
For more information about this error, try `rustc --explain E0369`.