Remove catch all for problem report

This commit is contained in:
Chad Stearns 2020-03-29 18:25:41 -04:00
parent da4e97fd25
commit 1d839863a1

View file

@ -134,12 +134,13 @@ pub fn can_problem(filename: PathBuf, problem: Problem) -> Report {
original_region, original_region,
shadow, shadow,
} => { } => {
// v-- just to satisfy clippy
let _a = original_region; let _a = original_region;
let _b = shadow; let _b = shadow;
panic!("TODO implement shadow report") panic!("TODO implement shadow report");
} }
_ => { Problem::RuntimeError(_runtime_error) => {
panic!("TODO implement others"); panic!("TODO implement run time error report");
} }
}; };