We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1cb69 commit 7431970Copy full SHA for 7431970
src/tools/miri/src/borrow_tracker/stacked_borrows/stack.rs
@@ -83,7 +83,7 @@ impl Stack {
83
self.borrows.truncate(write_idx);
84
85
#[cfg(not(feature = "stack-cache"))]
86
- drop(first_removed); // This is only needed for the stack-cache
+ let _unused = first_removed; // This is only needed for the stack-cache
87
88
#[cfg(feature = "stack-cache")]
89
if let Some(first_removed) = first_removed {
src/tools/miri/tests/fail/uninit_buffer_with_provenance.rs
@@ -1,7 +1,6 @@
1
//@error-in-other-file: memory is uninitialized at [0x4..0x8]
2
//@normalize-stderr-test: "a[0-9]+" -> "ALLOC"
3
#![feature(strict_provenance)]
4
-
5
#![allow(drop_copy)]
6
7
// Test printing allocations that contain single-byte provenance.
0 commit comments