tidy fixes
This commit is contained in:
parent
69daf844da
commit
b60a336e86
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ pub fn intern_const_alloc_recursive(
|
|||
}
|
||||
} else if ecx.memory().dead_alloc_map.contains_key(&alloc_id) {
|
||||
// dangling pointer
|
||||
return throw_err!(ValidationFailure("encountered dangling pointer in final constant".into()))
|
||||
return throw_err!(
|
||||
ValidationFailure("encountered dangling pointer in final constant".into())
|
||||
)
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue