about summary refs log tree commit diff
path: root/src/test/ui/alloc-error
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-04 05:49:14 +0000
committerbors <bors@rust-lang.org>2022-03-04 05:49:14 +0000
commit65f6d33b775eddfc0128c04083bbf3beea360114 (patch)
treeb1a38a27de70d46108d6679f217dcb45176a7b6e /src/test/ui/alloc-error
parent8fa5d74a7cb01ceaf1a07aa6fcaf42137d8bda58 (diff)
parentc680d39b1ecf16d3ebd3338ea0193002dec611ac (diff)
downloadrust-65f6d33b775eddfc0128c04083bbf3beea360114.tar.gz
rust-65f6d33b775eddfc0128c04083bbf3beea360114.zip
Auto merge of #94096 - cjgillot:ensure-stability, r=lcnr
Ensure stability directives are checked in all cases

Split off  #93017

Stability and deprecation were not checked in all cases, for instance if a type error happened.
This PR moves the check earlier in the pipeline to ensure the errors are emitted in all cases.

r? `@lcnr`
Diffstat (limited to 'src/test/ui/alloc-error')
-rw-r--r--src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.rs2
-rw-r--r--src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.rs2
-rw-r--r--src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.rs b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
index 36041e4b8ef..41c9a265cd7 100644
--- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
@@ -1,6 +1,6 @@
 // compile-flags:-C panic=abort
 
-#![feature(alloc_error_handler, panic_handler)]
+#![feature(alloc_error_handler)]
 #![no_std]
 #![no_main]
 
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.rs b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
index 009f6bce6d3..49ea3105fbd 100644
--- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
@@ -1,6 +1,6 @@
 // compile-flags:-C panic=abort
 
-#![feature(alloc_error_handler, panic_handler)]
+#![feature(alloc_error_handler)]
 #![no_std]
 #![no_main]
 
diff --git a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
index f2d884b7469..321fd954db6 100644
--- a/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
+++ b/src/test/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
@@ -1,6 +1,6 @@
 // compile-flags:-C panic=abort
 
-#![feature(alloc_error_handler, panic_handler)]
+#![feature(alloc_error_handler)]
 #![no_std]
 #![no_main]