We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ba877 commit d480499Copy full SHA for d480499
core/src/macros/mod.rs
@@ -210,6 +210,7 @@ pub macro assert_matches {
210
#[macro_export]
211
#[stable(feature = "rust1", since = "1.0.0")]
212
#[rustc_diagnostic_item = "debug_assert_macro"]
213
+#[allow_internal_unstable(edition_panic)]
214
macro_rules! debug_assert {
215
($($arg:tt)*) => (if $crate::cfg!(debug_assertions) { $crate::assert!($($arg)*); })
216
}
0 commit comments