mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
fmt and fix lint
This commit is contained in:
parent
7b1cb69efa
commit
7431970758
@ -83,7 +83,7 @@ impl Stack {
|
||||
self.borrows.truncate(write_idx);
|
||||
|
||||
#[cfg(not(feature = "stack-cache"))]
|
||||
drop(first_removed); // This is only needed for the stack-cache
|
||||
let _unused = first_removed; // This is only needed for the stack-cache
|
||||
|
||||
#[cfg(feature = "stack-cache")]
|
||||
if let Some(first_removed) = first_removed {
|
||||
|
@ -1,7 +1,6 @@
|
||||
//@error-in-other-file: memory is uninitialized at [0x4..0x8]
|
||||
//@normalize-stderr-test: "a[0-9]+" -> "ALLOC"
|
||||
#![feature(strict_provenance)]
|
||||
|
||||
#![allow(drop_copy)]
|
||||
|
||||
// Test printing allocations that contain single-byte provenance.
|
||||
|
Loading…
Reference in New Issue
Block a user