@@ -197,6 +197,12 @@ const KNOWN_FEATURES: &'static [(&'static str, &'static str, Option<u32>, Status
197197
198198 // allow overloading augmented assignment operations like `a += b`
199199 ( "augmented_assignments" , "1.5.0" , None , Active ) ,
200+
201+ // allow `#[no_debug]`
202+ ( "no_debug" , "1.5.0" , None , Active ) ,
203+
204+ // allow `#[omit_gdb_pretty_printer_section]`
205+ ( "omit_gdb_pretty_printer_section" , "1.5.0" , None , Active ) ,
200206] ;
201207// (changing above list without updating src/doc/reference.md makes @cmr sad)
202208
@@ -320,8 +326,13 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat
320326 ( "link_section" , Whitelisted , Ungated ) ,
321327 ( "no_builtins" , Whitelisted , Ungated ) ,
322328 ( "no_mangle" , Whitelisted , Ungated ) ,
323- ( "no_debug" , Whitelisted , Ungated ) ,
324- ( "omit_gdb_pretty_printer_section" , Whitelisted , Ungated ) ,
329+ ( "no_debug" , Whitelisted , Gated ( "no_debug" ,
330+ "the `#[no_debug]` attribute \
331+ is an experimental feature") ) ,
332+ ( "omit_gdb_pretty_printer_section" , Whitelisted , Gated ( "omit_gdb_pretty_printer_section" ,
333+ "the `#[omit_gdb_pretty_printer_section]` \
334+ attribute is just used for the Rust test \
335+ suite") ) ,
325336 ( "unsafe_no_drop_flag" , Whitelisted , Gated ( "unsafe_no_drop_flag" ,
326337 "unsafe_no_drop_flag has unstable semantics \
327338 and may be removed in the future") ) ,
0 commit comments