Skip to content

Commit b60a336

Browse files
committed
tidy fixes
1 parent 69daf84 commit b60a336

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc_mir/interpret/intern.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ pub fn intern_const_alloc_recursive(
328328
}
329329
} else if ecx.memory().dead_alloc_map.contains_key(&alloc_id) {
330330
// dangling pointer
331-
return throw_err!(ValidationFailure("encountered dangling pointer in final constant".into()))
331+
return throw_err!(
332+
ValidationFailure("encountered dangling pointer in final constant".into())
333+
)
332334
}
333335
}
334336
Ok(())

0 commit comments

Comments
 (0)