From 7397eee4875fbe8cbcb582f5f5a199deee83f13d Mon Sep 17 00:00:00 2001 From: Yacin Tmimi Date: Wed, 1 Jan 2025 23:08:35 -0500 Subject: [PATCH] add `#![feature(unsafe_binders)]` annotation to tests --- tests/source/unsafe-binders.rs | 2 ++ tests/target/unsafe-binders.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/source/unsafe-binders.rs b/tests/source/unsafe-binders.rs index ccf7c8bb9af..df23cd172bb 100644 --- a/tests/source/unsafe-binders.rs +++ b/tests/source/unsafe-binders.rs @@ -1,3 +1,5 @@ +#![feature(unsafe_binders)] + fn foo() -> unsafe<'a> &'a () {} diff --git a/tests/target/unsafe-binders.rs b/tests/target/unsafe-binders.rs index 9d308f4a894..a4009637d2b 100644 --- a/tests/target/unsafe-binders.rs +++ b/tests/target/unsafe-binders.rs @@ -1,3 +1,5 @@ +#![feature(unsafe_binders)] + fn foo() -> unsafe<'a> &'a () {} struct Foo {