summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-1937-termination-trait/termination-trait-for-box-dyn-error-ok.rs
blob: e98582cbce34f0b8da61f316ca51d2fc211de5b8 (plain)
1
2
3
4
5
6
// run-pass
use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {
    Ok(())
}