]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest_print_over_printf.stderr
Rollup merge of #105368 - WaffleLapkin:deref-even-harder, r=TaKO8Ki
[rust.git] / src / test / ui / suggestions / suggest_print_over_printf.stderr
1 error[E0425]: cannot find function `printf` in this scope
2   --> $DIR/suggest_print_over_printf.rs:5:5
3    |
4 LL |     printf("%d", x);
5    |     ^^^^^^ not found in this scope
6    |
7 help: you may have meant to use the `print` macro
8    |
9 LL |     print!("%d", x);
10    |     ~~~~~~
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0425`.