Sign in
◑
Theme
fuchsia
/
third_party
/
rust
/
HEAD
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
bufreader_stdin_unfixable.rs
blob: 7a1c9cb15899bc24054f8e552c2679c9dbcd324c [
file
]
#![
warn
(
clippy
::
bufreader_stdin
)]
use
std
::
io
::{
self
,
BufReader
};
macro_rules
!
stdin_macro
{
()
=>
{
io
::
stdin
()
};
}
fn
main
()
{
let
reader
=
BufReader
::
new
(
stdin_macro
!());
//~^ bufreader_stdin
}