3 #![allow(non_camel_case_types)]
4 // rustc --test ignores2.rs && ./ignores2
8 type rsrc_loader = Box<dyn FnMut(&Path) -> Result<String, String>>;
12 let mut loader: rsrc_loader = Box::new(move |_path| {
13 Ok("more blah".to_string())
17 assert!(loader(&path).is_ok());