提交 a77f046c 编写于 作者: D Dylan MacKenzie

Add feature gate for precise live drop checking

上级 d73674e1
...@@ -577,6 +577,9 @@ pub fn set(&self, features: &mut Features, span: Span) { ...@@ -577,6 +577,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`. /// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
(active, abi_avr_interrupt, "1.45.0", Some(69664), None), (active, abi_avr_interrupt, "1.45.0", Some(69664), None),
/// Be more precise when looking for live drops in a const context.
(active, const_precise_live_drops, "1.46.0", Some(73255), None),
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
// feature-group-end: actual feature gates // feature-group-end: actual feature gates
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
......
...@@ -227,6 +227,7 @@ ...@@ -227,6 +227,7 @@
const_loop, const_loop,
const_mut_refs, const_mut_refs,
const_panic, const_panic,
const_precise_live_drops,
const_raw_ptr_deref, const_raw_ptr_deref,
const_raw_ptr_to_usize_cast, const_raw_ptr_to_usize_cast,
const_transmute, const_transmute,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册