about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2023-10-09 10:55:25 -0400
committerAntoni Boucher <bouanto@zoho.com>2023-10-09 10:55:25 -0400
commite7f7fb87ddd9ddfa4c52c6b683a501a9ab3eba8b (patch)
treef4b4c6112f21ecc34ed4a8d1019a56fbd5f1c967 /tests
parentbd7e5b9d4e58c6926b280c0657a9c723be25f4ed (diff)
downloadrust-e7f7fb87ddd9ddfa4c52c6b683a501a9ab3eba8b.tar.gz
rust-e7f7fb87ddd9ddfa4c52c6b683a501a9ab3eba8b.zip
Fix tests
Diffstat (limited to 'tests')
-rw-r--r--tests/run/abort1.rs2
-rw-r--r--tests/run/abort2.rs2
-rw-r--r--tests/run/array.rs2
-rw-r--r--tests/run/assign.rs2
-rw-r--r--tests/run/closure.rs2
-rw-r--r--tests/run/condition.rs2
-rw-r--r--tests/run/fun_ptr.rs2
-rw-r--r--tests/run/int_overflow.rs2
-rw-r--r--tests/run/mut_ref.rs2
-rw-r--r--tests/run/operations.rs2
-rw-r--r--tests/run/ptr_cast.rs2
-rw-r--r--tests/run/slice.rs2
-rw-r--r--tests/run/static.rs2
13 files changed, 13 insertions, 13 deletions
diff --git a/tests/run/abort1.rs b/tests/run/abort1.rs
index 6cb3dd90203..44297e12779 100644
--- a/tests/run/abort1.rs
+++ b/tests/run/abort1.rs
@@ -3,7 +3,7 @@
 // Run-time:
 //   status: signal
 
-#![feature(auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/abort2.rs b/tests/run/abort2.rs
index b7a928166b8..ce816927123 100644
--- a/tests/run/abort2.rs
+++ b/tests/run/abort2.rs
@@ -3,7 +3,7 @@
 // Run-time:
 //   status: signal
 
-#![feature(auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/array.rs b/tests/run/array.rs
index d2d60b75e63..afd0eed8200 100644
--- a/tests/run/array.rs
+++ b/tests/run/array.rs
@@ -7,7 +7,7 @@
 //     5
 //     10
 
-#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/assign.rs b/tests/run/assign.rs
index 241acea5e49..5b0db2da294 100644
--- a/tests/run/assign.rs
+++ b/tests/run/assign.rs
@@ -6,7 +6,7 @@
 //     10
 
 #![allow(internal_features, unused_attributes)]
-#![feature(auto_traits, lang_items, no_core, start, intrinsics, track_caller)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs, track_caller)]
 
 #![no_std]
 #![no_core]
diff --git a/tests/run/closure.rs b/tests/run/closure.rs
index 764c5b34426..4ce528f8680 100644
--- a/tests/run/closure.rs
+++ b/tests/run/closure.rs
@@ -9,7 +9,7 @@
 //     Both args: 11
 
 #![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics,
-    unboxed_closures)]
+    unboxed_closures, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/condition.rs b/tests/run/condition.rs
index ed17c19409e..1b3ae6dc004 100644
--- a/tests/run/condition.rs
+++ b/tests/run/condition.rs
@@ -5,7 +5,7 @@
 //   stdout: true
 //     1
 
-#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/fun_ptr.rs b/tests/run/fun_ptr.rs
index e0c30cada6b..96030359772 100644
--- a/tests/run/fun_ptr.rs
+++ b/tests/run/fun_ptr.rs
@@ -4,7 +4,7 @@
 //   status: 0
 //   stdout: 1
 
-#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/int_overflow.rs b/tests/run/int_overflow.rs
index badcc0f7699..08fa087fccd 100644
--- a/tests/run/int_overflow.rs
+++ b/tests/run/int_overflow.rs
@@ -5,7 +5,7 @@
 //   status: signal
 
 #![allow(internal_features, unused_attributes)]
-#![feature(auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 
 #![no_std]
 #![no_core]
diff --git a/tests/run/mut_ref.rs b/tests/run/mut_ref.rs
index e843e298537..194e55a3dea 100644
--- a/tests/run/mut_ref.rs
+++ b/tests/run/mut_ref.rs
@@ -8,7 +8,7 @@
 //     11
 
 #![allow(internal_features, unused_attributes)]
-#![feature(auto_traits, lang_items, no_core, start, intrinsics, track_caller)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs, track_caller)]
 
 #![no_std]
 #![no_core]
diff --git a/tests/run/operations.rs b/tests/run/operations.rs
index cac6fdfca4a..2d781670873 100644
--- a/tests/run/operations.rs
+++ b/tests/run/operations.rs
@@ -6,7 +6,7 @@
 //     10
 
 #![allow(internal_features, unused_attributes)]
-#![feature(auto_traits, lang_items, no_core, start, intrinsics, arbitrary_self_types)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, arbitrary_self_types, rustc_attrs)]
 
 #![no_std]
 #![no_core]
diff --git a/tests/run/ptr_cast.rs b/tests/run/ptr_cast.rs
index 41866179828..09d77abe27c 100644
--- a/tests/run/ptr_cast.rs
+++ b/tests/run/ptr_cast.rs
@@ -4,7 +4,7 @@
 //   status: 0
 //   stdout: 1
 
-#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/slice.rs b/tests/run/slice.rs
index 25ff72549d4..1262c86c810 100644
--- a/tests/run/slice.rs
+++ b/tests/run/slice.rs
@@ -4,7 +4,7 @@
 //   status: 0
 //   stdout: 5
 
-#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(arbitrary_self_types, auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]
diff --git a/tests/run/static.rs b/tests/run/static.rs
index 2457bb1f443..0b933754c29 100644
--- a/tests/run/static.rs
+++ b/tests/run/static.rs
@@ -9,7 +9,7 @@
 //      12
 //      1
 
-#![feature(auto_traits, lang_items, no_core, start, intrinsics)]
+#![feature(auto_traits, lang_items, no_core, start, intrinsics, rustc_attrs)]
 #![allow(internal_features)]
 
 #![no_std]