fix not being able to dbg variable

This commit is contained in:
Folkert 2022-11-25 17:55:01 +01:00
parent 74e1bc412f
commit 07b7a93b9f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 26 additions and 10 deletions

View file

@ -499,7 +499,7 @@ fn render_dbg_failure<'a>(
let data = expectations.get_mut(&module_id).unwrap();
let current = match data.dbgs.get(&dbg_symbol) {
None => panic!("region {failure_region:?} not in list of expects"),
None => panic!("region {failure_region:?} not in list of dbgs"),
Some(current) => current,
};
let failure_region = current.region;