Skip to content

Commit

Permalink
Also add offset_of_enum to mir-opt/const_prop/offset_of.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
GKFX committed Nov 3, 2023
1 parent 76dfb92 commit 27f262d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/const_prop/offset_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY

#![feature(offset_of)]
#![feature(offset_of, offset_of_enum)]

use std::marker::PhantomData;
use std::mem::offset_of;
Expand Down

0 comments on commit 27f262d

Please sign in to comment.