mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
remove some unnecessary ignore-debug clauses
This commit is contained in:
parent
0b31792ef1
commit
e4c4f9b9d9
@ -1,5 +1,4 @@
|
||||
// compile-flags: -O -Zmir-opt-level=2 -Cdebuginfo=2
|
||||
// ignore-debug
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -Zmir-opt-level=2 -Cdebuginfo=2
|
||||
// needs-unwind
|
||||
// ignore-debug
|
||||
// only-x86_64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
|
||||
// Checks that we do not have any branches in the MIR for the two tested functions.
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -Zmir-opt-level=2 -g
|
||||
// needs-unwind
|
||||
// ignore-debug
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
// ignore-debug the standard library debug assertions leak into this test
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
@ -3,9 +3,9 @@
|
||||
fn ezmap(_1: Option<i32>) -> Option<i32> {
|
||||
debug x => _1;
|
||||
let mut _0: std::option::Option<i32>;
|
||||
scope 1 (inlined map::<i32, i32, [closure@$DIR/simple_option_map.rs:18:12: 18:15]>) {
|
||||
scope 1 (inlined map::<i32, i32, [closure@$DIR/simple_option_map.rs:17:12: 17:15]>) {
|
||||
debug slf => _1;
|
||||
debug f => const ZeroSized: [closure@$DIR/simple_option_map.rs:18:12: 18:15];
|
||||
debug f => const ZeroSized: [closure@$DIR/simple_option_map.rs:17:12: 17:15];
|
||||
let mut _2: isize;
|
||||
let _3: i32;
|
||||
let mut _4: i32;
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
|
||||
#[inline(always)]
|
||||
fn map<T, U, F>(slf: Option<T>, f: F) -> Option<U>
|
||||
|
@ -1,6 +1,6 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
// ignore-debug the standard library debug assertions leak into this test
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
// ignore-debug the standard library debug assertions leak into this test
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
@ -1,6 +1,5 @@
|
||||
// compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
// only-64bit
|
||||
// ignore-debug
|
||||
|
||||
// Track the status of MIR optimizations simplifying `Ok(res?)` for both the old and new desugarings
|
||||
// of that syntax.
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0080]: it is undefined behavior to use this value
|
||||
--> $DIR/alloc.rs:12:1
|
||||
--> $DIR/alloc.rs:11:1
|
||||
|
|
||||
LL | const LAYOUT_INVALID_ZERO: Layout = unsafe { Layout::from_size_align_unchecked(0x1000, 0x00) };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .align.0.<enum-tag>: encountered 0x00000000, but expected a valid enum tag
|
||||
@ -10,7 +10,7 @@ LL | const LAYOUT_INVALID_ZERO: Layout = unsafe { Layout::from_size_align_unchec
|
||||
}
|
||||
|
||||
error[E0080]: it is undefined behavior to use this value
|
||||
--> $DIR/alloc.rs:16:1
|
||||
--> $DIR/alloc.rs:15:1
|
||||
|
|
||||
LL | const LAYOUT_INVALID_THREE: Layout = unsafe { Layout::from_size_align_unchecked(9, 3) };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .align.0.<enum-tag>: encountered 0x00000003, but expected a valid enum tag
|
||||
|
@ -1,5 +1,5 @@
|
||||
error[E0080]: it is undefined behavior to use this value
|
||||
--> $DIR/alloc.rs:12:1
|
||||
--> $DIR/alloc.rs:11:1
|
||||
|
|
||||
LL | const LAYOUT_INVALID_ZERO: Layout = unsafe { Layout::from_size_align_unchecked(0x1000, 0x00) };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .align.0.<enum-tag>: encountered 0x0000000000000000, but expected a valid enum tag
|
||||
@ -10,7 +10,7 @@ LL | const LAYOUT_INVALID_ZERO: Layout = unsafe { Layout::from_size_align_unchec
|
||||
}
|
||||
|
||||
error[E0080]: it is undefined behavior to use this value
|
||||
--> $DIR/alloc.rs:16:1
|
||||
--> $DIR/alloc.rs:15:1
|
||||
|
|
||||
LL | const LAYOUT_INVALID_THREE: Layout = unsafe { Layout::from_size_align_unchecked(9, 3) };
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at .align.0.<enum-tag>: encountered 0x0000000000000003, but expected a valid enum tag
|
||||
|
@ -1,5 +1,4 @@
|
||||
// stderr-per-bitwidth
|
||||
// ignore-debug (the debug assertions change the error)
|
||||
// Strip out raw byte dumps to make comparison platform-independent:
|
||||
// normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)"
|
||||
// normalize-stderr-test "([0-9a-f][0-9a-f] |╾─*a(lloc)?[0-9]+(\+[a-z0-9]+)?─*╼ )+ *│.*" -> "HEX_DUMP"
|
||||
|
Loading…
Reference in New Issue
Block a user