#![allow(dead_code, deprecated, unused_variables, unused_mut)] #![feature(never_type)] #![feature(unwrap_infallible)] fn only_good_news() -> Result { Ok("this is fine".into()) } fn main() { let s: String = only_good_news().into_ok(); println!("{s}"); }