diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:13:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:13:25 +0000 |
commit | e96f7c79b513f3d2d4e1134b20c85e0a3c126cb4 (patch) | |
tree | cbee48aa7ebd3f30ccc92f6d0754db5802a55119 /debian/patches/u-ignore-endian-big-diff.patch | |
parent | Merging upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-e96f7c79b513f3d2d4e1134b20c85e0a3c126cb4.tar.xz rustc-e96f7c79b513f3d2d4e1134b20c85e0a3c126cb4.zip |
Merging debian version 1.66.0+dfsg1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/u-ignore-endian-big-diff.patch')
-rw-r--r-- | debian/patches/u-ignore-endian-big-diff.patch | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/debian/patches/u-ignore-endian-big-diff.patch b/debian/patches/u-ignore-endian-big-diff.patch index e02960fd9..21e2de1e9 100644 --- a/debian/patches/u-ignore-endian-big-diff.patch +++ b/debian/patches/u-ignore-endian-big-diff.patch @@ -14,35 +14,27 @@ Bug: https://github.com/rust-lang/rust/issues/89577 src/test/ui/consts/const-eval/ub-wide-ptr.rs | 1 + 6 files changed, 6 insertions(+) -diff --git a/src/test/ui/consts/const-eval/ub-enum.rs b/src/test/ui/consts/const-eval/ub-enum.rs -index 8628868..13d22ac 100644 --- a/src/test/ui/consts/const-eval/ub-enum.rs +++ b/src/test/ui/consts/const-eval/ub-enum.rs @@ -1,3 +1,4 @@ +// ignore-test // stderr-per-bitwidth #![feature(never_type)] - -diff --git a/src/test/ui/consts/const-eval/ub-int-array.rs b/src/test/ui/consts/const-eval/ub-int-array.rs -index 7e0fb33..a54f618 100644 + #![allow(invalid_value)] --- a/src/test/ui/consts/const-eval/ub-int-array.rs +++ b/src/test/ui/consts/const-eval/ub-int-array.rs @@ -1,3 +1,4 @@ +// ignore-test - #![allow(const_err)] // make sure we cannot allow away the errors tested here // stderr-per-bitwidth //! Test the "array of int" fast path in validity checking, and in particular whether it -diff --git a/src/test/ui/consts/const-eval/ub-nonnull.rs b/src/test/ui/consts/const-eval/ub-nonnull.rs -index 259707b..145c7df 100644 + //! points at the right array element. --- a/src/test/ui/consts/const-eval/ub-nonnull.rs +++ b/src/test/ui/consts/const-eval/ub-nonnull.rs @@ -1,3 +1,4 @@ +// ignore-test // stderr-per-bitwidth #![feature(rustc_attrs)] - #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here -diff --git a/src/test/ui/consts/const-eval/ub-ref-ptr.rs b/src/test/ui/consts/const-eval/ub-ref-ptr.rs -index 1887cb2..14b15f6 100644 + #![allow(invalid_value)] // make sure we cannot allow away the errors tested here --- a/src/test/ui/consts/const-eval/ub-ref-ptr.rs +++ b/src/test/ui/consts/const-eval/ub-ref-ptr.rs @@ -1,3 +1,4 @@ @@ -50,17 +42,13 @@ index 1887cb2..14b15f6 100644 // ignore-tidy-linelength // stderr-per-bitwidth #![allow(invalid_value)] -diff --git a/src/test/ui/consts/const-eval/ub-uninhabit.rs b/src/test/ui/consts/const-eval/ub-uninhabit.rs -index 33fbd14..022192f 100644 --- a/src/test/ui/consts/const-eval/ub-uninhabit.rs +++ b/src/test/ui/consts/const-eval/ub-uninhabit.rs @@ -1,3 +1,4 @@ +// ignore-test // stderr-per-bitwidth - #![allow(const_err)] // make sure we cannot allow away the errors tested here -diff --git a/src/test/ui/consts/const-eval/ub-wide-ptr.rs b/src/test/ui/consts/const-eval/ub-wide-ptr.rs -index ea48a09..4d9cbe1 100644 + use std::mem; --- a/src/test/ui/consts/const-eval/ub-wide-ptr.rs +++ b/src/test/ui/consts/const-eval/ub-wide-ptr.rs @@ -1,3 +1,4 @@ |