mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-05 06:27:38 +00:00
6 lines
123 B
Rust
6 lines
123 B
Rust
![]() |
#![deny(unused_must_use)]
|
||
|
|
||
|
fn main() {
|
||
|
(Ok::<(), ()>(()),); //~ ERROR unused `std::result::Result` that must be used
|
||
|
}
|