]> git.proxmox.com Git - rustc.git/blobdiff - library/core/src/macros/mod.rs
New upstream version 1.71.1+dfsg1
[rustc.git] / library / core / src / macros / mod.rs
index 7c93c93b4a0199de1473dc2ab6a7196e70fa0a60..c4134dbcd2507681cb22645b9c3a8e7054b25482 100644 (file)
@@ -498,7 +498,6 @@ macro_rules! r#try {
 /// In a `no_std` setup you are responsible for the implementation details of the components.
 ///
 /// ```no_run
-/// # extern crate core;
 /// use core::fmt::Write;
 ///
 /// struct Example;
@@ -1428,7 +1427,7 @@ pub(crate) mod builtin {
     #[rustc_builtin_macro]
     #[macro_export]
     #[rustc_diagnostic_item = "assert_macro"]
-    #[allow_internal_unstable(core_panic, edition_panic)]
+    #[allow_internal_unstable(core_panic, edition_panic, generic_assert_internals)]
     macro_rules! assert {
         ($cond:expr $(,)?) => {{ /* compiler built-in */ }};
         ($cond:expr, $($arg:tt)+) => {{ /* compiler built-in */ }};