Support unstable moves via stable in unstable items
This commit is contained in:
parent
052495d001
commit
e7fe5456c5
20 changed files with 200 additions and 18 deletions
|
@ -11,7 +11,7 @@ use crate::thread::Result;
|
|||
|
||||
#[doc(hidden)]
|
||||
#[unstable(feature = "edition_panic", issue = "none", reason = "use panic!() instead")]
|
||||
#[allow_internal_unstable(libstd_sys_internals, const_format_args, core_panic)]
|
||||
#[allow_internal_unstable(libstd_sys_internals, const_format_args, core_panic, rt)]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "std_panic_2015_macro")]
|
||||
#[rustc_macro_transparency = "semitransparent"]
|
||||
pub macro panic_2015 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue