Skip to content

Commit 0a723fa

Browse files
committed
Auto merge of #1662 - RalfJung:rustup, r=RalfJung
panicing now works with -Zmiri-track-raw-pointers
2 parents 3e74daa + 7e19814 commit 0a723fa

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
158f8d034b15e65ba8dc0d066358dd0632bfcd6e
1+
507bff92fadf1f25a830da5065a5a87113345163

test-cargo-miri/run-test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ def test_cargo_miri_test():
8484
env={'MIRIFLAGS': "-Zmiri-disable-isolation"},
8585
)
8686
test("`cargo miri test` (raw-ptr tracking)",
87-
cargo_miri("test") + ["--", "-Zunstable-options", "--exclude-should-panic"],
88-
"test.raw-ptr-track.stdout.ref", rustdoc_ref,
87+
cargo_miri("test"),
88+
"test.default.stdout.ref", rustdoc_ref,
8989
env={'MIRIFLAGS': "-Zmiri-track-raw-pointers"},
9090
)
9191
test("`cargo miri test` (with filter)",

test-cargo-miri/test.raw-ptr-track.stdout.ref

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/run-pass/dyn-lcsit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const cdef_et3: &dyn Tr1<As1: Clone + Iterator<Item: Add<u8, Output: Into<u8>>>>
3232
impl Tr1 for A {
3333
type As1 = core::ops::Range<u8>;
3434
fn mk(&self) -> Self::As1 { 0..10 }
35-
};
35+
}
3636
&A
3737
};
3838
pub fn use_et3() {

tests/run-pass/intrinsics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() {
2424
assert_eq!(intrinsics::likely(false), false);
2525
assert_eq!(intrinsics::unlikely(true), true);
2626

27-
unsafe { intrinsics::forget(Bomb); }
27+
intrinsics::forget(Bomb);
2828

2929
let _v = intrinsics::discriminant_value(&Some(()));
3030
let _v = intrinsics::discriminant_value(&0);

0 commit comments

Comments
 (0)