fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1// run-rustfix 2 3fn main() { 4 let _x: Box<dyn Fn() -> Result<(), ()>> = Box::new(|| { //~ ERROR mismatched types 5 Err(())?; 6 Ok(()) 7 }); 8}
git clone https://git.julia.blue/fork/rust
73528e339aa
1// run-rustfix 2 3fn main() { 4 let _x: Box<dyn Fn() -> Result<(), ()>> = Box::new(|| { //~ ERROR mismatched types 5 Err(())?; 6 Ok(()) 7 }); 8}