We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
In my opinion, the following should not fail:
#![deny(unused_result)] pub struct Zomg { res: Result<(), ()> } fn zomg() -> Zomg { Zomg { res: Ok(()) } } pub fn main() { zomg(); }