Suggestion for print

This commit is contained in:
csmoe 2018-06-17 10:52:02 +08:00
parent 8fa9bfeb15
commit b79a83b4e4
2 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,7 @@ error: expected a literal
--> $DIR/bad_hello.rs:12:14
|
LL | println!(3 + 4); //~ ERROR expected a literal
| ^^^^^
| ^^^^^ help: consider changing this to: `"{}", 3 + 4`
error: aborting due to previous error