Skip to content

Commit 27f262d

Browse files
committed
Also add offset_of_enum to mir-opt/const_prop/offset_of.rs
1 parent 76dfb92 commit 27f262d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mir-opt/const_prop/offset_of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// unit-test: ConstProp
33
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
44

5-
#![feature(offset_of)]
5+
#![feature(offset_of, offset_of_enum)]
66

77
use std::marker::PhantomData;
88
use std::mem::offset_of;

0 commit comments

Comments
 (0)