mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 11:03:16 +00:00
20 lines
539 B
Text
20 lines
539 B
Text
error: use of `print!`
|
|
--> $DIR/print_macro.rs:6:5
|
|
|
|
|
LL | print!("{n}");
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::print-stdout` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::print_stdout)]`
|
|
|
|
error: use of `eprint!`
|
|
--> $DIR/print_macro.rs:7:5
|
|
|
|
|
LL | eprint!("{n}");
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::print-stderr` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::print_stderr)]`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|