rust/tests/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error-ok.rs
2023-06-05 16:09:46 +00:00

7 lines
91 B
Rust

// run-pass
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
Ok(())
}