rust/tests/ui/issues/issue-4333.rs
2023-01-11 09:32:08 +00:00

11 lines
191 B
Rust

// run-pass
#![allow(unused_must_use)]
// pretty-expanded FIXME #23616
use std::io;
pub fn main() {
let stdout = &mut io::stdout() as &mut dyn io::Write;
stdout.write(b"Hello!");
}