Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

I don't know, seems that rust can deal with this just fine:

❯ cargo run
   Compiling rtest v0.1.0 (/home/pablogsal/rtest)
error[E0308]: mismatched types
 --> src/main.rs:7:10
  |
7 |     test("hellooooooo: 🥳 😏 😒 😞 😔 some emojis");
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |          |
  |          expected struct `String`, found `&str`
  |          help: try using a conversion method: `"hellooooooo: 🥳 😏 😒 😞 😔 some 
emojis".to_string()`

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to