Skip to content

Commit a365d19

Browse files
committed
Update MIR tests for offset_of
1 parent 84cd250 commit a365d19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/mem/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,6 +1329,7 @@ impl<T> SizedTypeProperties for T {}
13291329
///
13301330
/// assert_eq!(mem::offset_of!(NestedA, b.0), 0);
13311331
///
1332+
/// # #[cfg(not(bootstrap))]
13321333
/// assert_eq!(mem::offset_of!(Option<&u8>, Some.0), 0);
13331334
/// ```
13341335
#[unstable(feature = "offset_of", issue = "106655")]

0 commit comments

Comments
 (0)