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 81734e0 commit f517719Copy full SHA for f517719
src/libcore/macros.rs
@@ -542,7 +542,8 @@ macro_rules! unreachable {
542
#[macro_export]
543
#[stable(feature = "rust1", since = "1.0.0")]
544
macro_rules! unimplemented {
545
- () => (panic!("not yet implemented"))
+ () => (panic!("not yet implemented"));
546
+ ($($arg:tt)+) => (panic!("not yet implemented: {}", format_args!($($arg)*)));
547
}
548
549
/// Built-in macros to the compiler itself.
0 commit comments