Skip to content

Commit 12f1ea5

Browse files
committed
Allow dangerous_implicit_autorefs lint in some tests
1 parent becbe21 commit 12f1ea5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/tools/miri/tests/pass/dst-raw.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Test DST raw pointers
22

3+
#![allow(dangerous_implicit_autorefs)]
4+
35
trait Trait {
46
fn foo(&self) -> isize;
57
}

tests/ui/dynamically-sized-types/dst-raw.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//@ run-pass
22
// Test DST raw pointers
33

4-
54
#![feature(unsized_tuple_coercion)]
5+
#![allow(dangerous_implicit_autorefs)]
66

77
trait Trait {
88
fn foo(&self) -> isize;

0 commit comments

Comments
 (0)