Skip to content

Commit 42cb1a2

Browse files
committed
Auto merge of #16465 - Veykril:eprintln, r=Veykril
minor: Remove `stdx::eprintln` overwrite
2 parents 1ab1a25 + 23f4b7f commit 42cb1a2

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

crates/rust-analyzer/src/lib.rs

-5
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313

1414
pub mod cli;
1515

16-
#[allow(unused)]
17-
macro_rules! eprintln {
18-
($($tt:tt)*) => { stdx::eprintln!($($tt)*) };
19-
}
20-
2116
mod caps;
2217
mod cargo_target_spec;
2318
mod diagnostics;

crates/stdx/src/macros.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
//! Convenience macros.
22
3-
#[macro_export]
4-
macro_rules! eprintln {
5-
($($tt:tt)*) => {{
6-
if $crate::is_ci() {
7-
panic!("Forgot to remove debug-print?")
8-
}
9-
std::eprintln!($($tt)*)
10-
}}
11-
}
12-
133
/// Appends formatted string to a `String`.
144
#[macro_export]
155
macro_rules! format_to {

0 commit comments

Comments
 (0)