aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-06 16:21:47 +0100
committerGitHub <[email protected]>2020-04-06 16:21:47 +0100
commit109bb1a7935e31d4ee3c036775a89ad0ac0e012b (patch)
tree28160f40d1cf3127304456ec3d2a171fc7948c61 /crates/ra_assists/src/lib.rs
parentf6d688d13070a54b288486900a30680d013c66ca (diff)
parent1b2d255be168333c136677599d2ea8b5a3f5996b (diff)
Merge pull request #3867 from matklad/deny-eprintln
Check for eprintlns on CI
Diffstat (limited to 'crates/ra_assists/src/lib.rs')
-rw-r--r--crates/ra_assists/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs
index fa3d3913f..c698d6e8c 100644
--- a/crates/ra_assists/src/lib.rs
+++ b/crates/ra_assists/src/lib.rs
@@ -5,6 +5,11 @@
5//! certain context. For example, if the cursor is over `,`, a "swap `,`" assist 5//! certain context. For example, if the cursor is over `,`, a "swap `,`" assist
6//! becomes available. 6//! becomes available.
7 7
8#[allow(unused)]
9macro_rules! eprintln {
10 ($($tt:tt)*) => { stdx::eprintln!($($tt)*) };
11}
12
8mod assist_ctx; 13mod assist_ctx;
9mod marks; 14mod marks;
10#[cfg(test)] 15#[cfg(test)]