diff options
author | Aleksey Kladov <[email protected]> | 2020-04-06 16:21:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-06 16:21:47 +0100 |
commit | 109bb1a7935e31d4ee3c036775a89ad0ac0e012b (patch) | |
tree | 28160f40d1cf3127304456ec3d2a171fc7948c61 /crates/ra_hir_ty | |
parent | f6d688d13070a54b288486900a30680d013c66ca (diff) | |
parent | 1b2d255be168333c136677599d2ea8b5a3f5996b (diff) |
Merge pull request #3867 from matklad/deny-eprintln
Check for eprintlns on CI
Diffstat (limited to 'crates/ra_hir_ty')
-rw-r--r-- | crates/ra_hir_ty/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/lib.rs b/crates/ra_hir_ty/src/lib.rs index a9022dee7..9d61bba40 100644 --- a/crates/ra_hir_ty/src/lib.rs +++ b/crates/ra_hir_ty/src/lib.rs | |||
@@ -1,6 +1,11 @@ | |||
1 | //! The type system. We currently use this to infer types for completion, hover | 1 | //! The type system. We currently use this to infer types for completion, hover |
2 | //! information and various assists. | 2 | //! information and various assists. |
3 | 3 | ||
4 | #[allow(unused)] | ||
5 | macro_rules! eprintln { | ||
6 | ($($tt:tt)*) => { stdx::eprintln!($($tt)*) }; | ||
7 | } | ||
8 | |||
4 | macro_rules! impl_froms { | 9 | macro_rules! impl_froms { |
5 | ($e:ident: $($v:ident $(($($sv:ident),*))?),*) => { | 10 | ($e:ident: $($v:ident $(($($sv:ident),*))?),*) => { |
6 | $( | 11 | $( |