summaryrefslogtreecommitdiffstats
path: root/library/core/tests/mem.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /library/core/tests/mem.rs
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/core/tests/mem.rs')
-rw-r--r--library/core/tests/mem.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/library/core/tests/mem.rs b/library/core/tests/mem.rs
index aee9c89b5..5c2e18745 100644
--- a/library/core/tests/mem.rs
+++ b/library/core/tests/mem.rs
@@ -366,7 +366,6 @@ fn const_maybe_uninit() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of() {
#[repr(C)]
struct Foo {
@@ -391,7 +390,7 @@ fn offset_of() {
struct Generic<T> {
x: u8,
y: u32,
- z: T
+ z: T,
}
trait Trait {}
@@ -409,7 +408,6 @@ fn offset_of() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_union() {
#[repr(C)]
union Foo {
@@ -429,7 +427,6 @@ fn offset_of_union() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_dst() {
#[repr(C)]
struct Alpha {
@@ -469,7 +466,6 @@ fn offset_of_dst() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_packed() {
#[repr(C, packed)]
struct Foo {
@@ -482,7 +478,6 @@ fn offset_of_packed() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_projection() {
#[repr(C)]
struct Foo {
@@ -503,7 +498,6 @@ fn offset_of_projection() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_alias() {
#[repr(C)]
struct Foo {
@@ -518,7 +512,6 @@ fn offset_of_alias() {
}
#[test]
-#[cfg(not(bootstrap))]
fn const_offset_of() {
#[repr(C)]
struct Foo {
@@ -534,7 +527,6 @@ fn const_offset_of() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_without_const_promotion() {
#[repr(C)]
struct Foo<SuppressConstPromotion> {
@@ -555,7 +547,6 @@ fn offset_of_without_const_promotion() {
}
#[test]
-#[cfg(not(bootstrap))]
fn offset_of_addr() {
#[repr(C)]
struct Foo {