Update src/libcore/macros.rs

Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
This commit is contained in:
Stjepan Glavina 2019-09-04 19:34:41 +02:00 committed by GitHub
parent 8e3b9d2118
commit 560bf1ba0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -618,7 +618,7 @@ macro_rules! unimplemented {
/// }
/// ```
#[macro_export]
#[stable(feature = "todo_macro", since = "1.37.0")]
#[stable(feature = "todo_macro", since = "1.38.0")]
macro_rules! todo {
() => (panic!("not yet implemented"));
($($arg:tt)+) => (panic!("not yet implemented: {}", format_args!($($arg)*)));