Skip to content

Commit

Permalink
tidy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saleemjaffer committed Jul 30, 2019
1 parent 69daf84 commit b60a336
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/librustc_mir/interpret/intern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit b60a336

Please sign in to comment.