about summary refs log tree commit diff
path: root/src/test/ui/missing/missing-alloc_error_handler.rs
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/missing/missing-alloc_error_handler.rs
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/missing/missing-alloc_error_handler.rs')
-rw-r--r--src/test/ui/missing/missing-alloc_error_handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/missing/missing-alloc_error_handler.rs b/src/test/ui/missing/missing-alloc_error_handler.rs
index ae0c067bb5f..4d378f010ed 100644
--- a/src/test/ui/missing/missing-alloc_error_handler.rs
+++ b/src/test/ui/missing/missing-alloc_error_handler.rs
@@ -3,7 +3,7 @@
 
 #![no_std]
 #![crate_type = "staticlib"]
-#![feature(panic_handler, alloc_error_handler)]
+#![feature(alloc_error_handler)]
 
 #[panic_handler]
 fn panic(_: &core::panic::PanicInfo) -> ! {