mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Remove stdx::eprintln overwrite
This commit is contained in:
parent
9d837a622d
commit
23f4b7f45f
2 changed files with 0 additions and 15 deletions
|
@ -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 a new issue