mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
10 lines
210 B
Rust
10 lines
210 B
Rust
//@ 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.");
|
|
}
|