-
-
Save jeffs/711b175581cfb3e5bb8a16ae6ddf8a9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo check | |
Checking rust v0.1.0 (/Users/jeff/var/play/rust) | |
error[E0369]: cannot add `{integer}` to `&str` | |
--> src/main.rs:2:25 | |
| | |
2 | println!("{}", "42" + 1); | |
| ---- ^ - {integer} | |
| | | |
| &str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment