There was an error while loading. Please reload this page.
dropping_copy_types
1 parent 981a39c commit 5d882cbCopy full SHA for 5d882cb
2 files changed
src/tools/miri/tests/fail/stacked_borrows/drop_in_place_retag.rs
@@ -3,6 +3,8 @@
3
4
//@error-in-other-file: /retag .* for Unique permission .* only grants SharedReadOnly permission/
5
6
+#![allow(dropping_copy_types)]
7
+
8
fn main() {
9
unsafe {
10
let x = 0u8;
src/tools/miri/tests/pass/drop_in_place.rs
@@ -2,6 +2,8 @@
2
// valid when dropped. This test confirms that behavior.
// This is not a stable guarantee!
use std::ptr;
0 commit comments