Rollup merge of #67436 - NieDzejkob:todo-stabilization-fix, r=alexcrichton

Correct the todo! stabilization version

None
This commit is contained in:
Mark Rousskov 2019-12-19 17:53:58 -05:00 committed by GitHub
commit 5f64777e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -524,8 +524,8 @@ pub mod task {
unreachable,
write,
writeln,
// Unstable
todo,
// Unstable
matches,
};