mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
Remove stdx::eprintln overwrite
This commit is contained in:
parent
9d837a622d
commit
23f4b7f45f
@ -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…
Reference in New Issue
Block a user