Skip to content

Commit 5da1a8d

Browse files
committed
1 parent e4c5298 commit 5da1a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl<'a, 'tcx> Memory<'a, 'tcx> {
306306
} else {
307307
let static_ = tcx
308308
.interpret_interner
309-
.get_corresponding_static_def_id(ptr.alloc_id);
309+
.get_static(ptr.alloc_id);
310310

311311
if let Some(_def_id) = static_ {
312312
unimplemented!()

0 commit comments

Comments
 (0)