Auto merge of #16465 - Veykril:eprintln, r=Veykril
minor: Remove `stdx::eprintln` overwrite
This commit is contained in:
commit
42cb1a2bd7
@ -13,11 +13,6 @@
|
||||
|
||||
pub mod cli;
|
||||
|
||||
#[allow(unused)]
|
||||
macro_rules! eprintln {
|
||||
($($tt:tt)*) => { stdx::eprintln!($($tt)*) };
|
||||
}
|
||||
|
||||
mod caps;
|
||||
mod cargo_target_spec;
|
||||
mod diagnostics;
|
||||
|
@ -1,15 +1,5 @@
|
||||
//! Convenience macros.
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! eprintln {
|
||||
($($tt:tt)*) => {{
|
||||
if $crate::is_ci() {
|
||||
panic!("Forgot to remove debug-print?")
|
||||
}
|
||||
std::eprintln!($($tt)*)
|
||||
}}
|
||||
}
|
||||
|
||||
/// Appends formatted string to a `String`.
|
||||
#[macro_export]
|
||||
macro_rules! format_to {
|
||||
|
Loading…
x
Reference in New Issue
Block a user