Skip to content

Commit

Permalink
Allow dangerous_implicit_autorefs lint in some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Mar 30, 2024
1 parent becbe21 commit 12f1ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/tools/miri/tests/pass/dst-raw.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Test DST raw pointers

#![allow(dangerous_implicit_autorefs)]

trait Trait {
fn foo(&self) -> isize;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dynamically-sized-types/dst-raw.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//@ run-pass
// Test DST raw pointers


#![feature(unsized_tuple_coercion)]
#![allow(dangerous_implicit_autorefs)]

trait Trait {
fn foo(&self) -> isize;
Expand Down

0 comments on commit 12f1ea5

Please sign in to comment.