Skip to content

Commit

Permalink
add #![feature(unsafe_binders)] annotation to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ytmimi committed Jan 2, 2025
1 parent f649c4c commit 7397eee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/source/unsafe-binders.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![feature(unsafe_binders)]

fn foo() -> unsafe<'a>
&'a () {}

Expand Down
2 changes: 2 additions & 0 deletions tests/target/unsafe-binders.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![feature(unsafe_binders)]

fn foo() -> unsafe<'a> &'a () {}

struct Foo {
Expand Down

0 comments on commit 7397eee

Please sign in to comment.