Sign in
rust
/
rust-clippy
/
refs/heads/stable
/
.
/
tests
/
ui
/
explicit_write_in_test.rs
blob: df020b7f1382ac03dcd3f92f803c7d44b6daf9ed [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
warn
(
clippy
::
explicit_write
)]
#[
test
]
fn
test
()
{
use
std
::
io
::
Write
;
writeln
!(
std
::
io
::
stderr
(),
"I am an explicit write."
).
unwrap
();
eprintln
!(
"I am not an explicit write."
);
}