aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs')
-rw-r--r--tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs b/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs
index 8226723..5dbe523 100644
--- a/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs
+++ b/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.rs
@@ -1,5 +1,7 @@
// NB: If you change this test, change 'stmt_expr_attributes.rs' at the same time.
+#![allow(deprecated)]
+
use pin_project::{pin_project, project};
use std::pin::Pin;