clean up pr 104954
This commit is contained in:
parent
2585bcea0b
commit
c95dceb63a
3 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
// Suggest to a user to use the print macros
|
||||
// instead to use the printf.
|
||||
// Suggest print macro when user erroneously uses printf
|
||||
|
||||
fn main() {
|
||||
let x = 4;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0425]: cannot find function `printf` in this scope
|
||||
--> $DIR/seggest_print_over_printf.rs:6:5
|
||||
--> $DIR/suggest_print_over_printf.rs:5:5
|
||||
|
|
||||
LL | printf("%d", x);
|
||||
| ^^^^^^ not found in this scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue