1 2 3 4 5 6 7 8 9 10
use autoerror::AutoError; #[derive(Debug, AutoError)] struct Error { A: std::io::Error, B: std::fmt::Error, } pub fn main() { }