Skip to content

Commit 88d318f

Browse files
committed
Rename drop_copy lint to dropping_copy_types
1 parent 33a9a54 commit 88d318f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/fail/uninit_buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@error-in-other-file: memory is uninitialized at [0x4..0x10]
22

3-
#![allow(drop_copy)]
3+
#![allow(dropping_copy_types)]
44

55
use std::alloc::{alloc, dealloc, Layout};
66
use std::slice::from_raw_parts;

tests/fail/uninit_buffer_with_provenance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@error-in-other-file: memory is uninitialized at [0x4..0x8]
22
//@normalize-stderr-test: "a[0-9]+" -> "ALLOC"
33
#![feature(strict_provenance)]
4-
#![allow(drop_copy)]
4+
#![allow(dropping_copy_types)]
55

66
// Test printing allocations that contain single-byte provenance.
77

tests/pass/stacked-borrows/zst-field-retagging-terminates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@compile-flags: -Zmiri-retag-fields
22
// Checks that the test does not run forever (which relies on a fast path).
33

4-
#![allow(drop_copy)]
4+
#![allow(dropping_copy_types)]
55

66
fn main() {
77
let array = [(); usize::MAX];

0 commit comments

Comments
 (0)