Rollup merge of #67436 - NieDzejkob:todo-stabilization-fix, r=alexcrichton
Correct the todo! stabilization version None
This commit is contained in:
commit
5f64777e63
|
@ -686,7 +686,7 @@ macro_rules! unimplemented {
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
#[stable(feature = "todo_macro", since = "1.39.0")]
|
#[stable(feature = "todo_macro", since = "1.40.0")]
|
||||||
macro_rules! todo {
|
macro_rules! todo {
|
||||||
() => (panic!("not yet implemented"));
|
() => (panic!("not yet implemented"));
|
||||||
($($arg:tt)+) => (panic!("not yet implemented: {}", $crate::format_args!($($arg)+)));
|
($($arg:tt)+) => (panic!("not yet implemented: {}", $crate::format_args!($($arg)+)));
|
||||||
|
|
|
@ -524,8 +524,8 @@ pub use core::{
|
||||||
unreachable,
|
unreachable,
|
||||||
write,
|
write,
|
||||||
writeln,
|
writeln,
|
||||||
// Unstable
|
|
||||||
todo,
|
todo,
|
||||||
|
// Unstable
|
||||||
matches,
|
matches,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue