diff options
| author | bishtpawan <pawan.bisht@knoldus.com> | 2020-08-05 17:05:53 +0530 |
|---|---|---|
| committer | bishtpawan <pawan.bisht@knoldus.com> | 2020-08-06 16:56:56 +0530 |
| commit | fdfbd89946ca34d12eec658d111ce9a85cd23df0 (patch) | |
| tree | 0b70679788c0ecc7f0b01aba15a0ebfc76057392 /src/librustc_builtin_macros | |
| parent | e18b56345f06c12be4dba9b5d76f306cdf0ab7f9 (diff) | |
| download | rust-fdfbd89946ca34d12eec658d111ce9a85cd23df0.tar.gz rust-fdfbd89946ca34d12eec658d111ce9a85cd23df0.zip | |
Incorporate tracing crate
Diffstat (limited to 'src/librustc_builtin_macros')
| -rw-r--r-- | src/librustc_builtin_macros/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/librustc_builtin_macros/test.rs | 2 | ||||
| -rw-r--r-- | src/librustc_builtin_macros/test_harness.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_builtin_macros/Cargo.toml b/src/librustc_builtin_macros/Cargo.toml index c612781153e..dee6fed317e 100644 --- a/src/librustc_builtin_macros/Cargo.toml +++ b/src/librustc_builtin_macros/Cargo.toml @@ -11,7 +11,7 @@ doctest = false [dependencies] rustc_parse_format = { path = "../librustc_parse_format" } -log = { package = "tracing", version = "0.1" } +tracing = "0.1" rustc_ast_pretty = { path = "../librustc_ast_pretty" } rustc_attr = { path = "../librustc_attr" } rustc_data_structures = { path = "../librustc_data_structures" } diff --git a/src/librustc_builtin_macros/test.rs b/src/librustc_builtin_macros/test.rs index 460f947a792..26d627e6b30 100644 --- a/src/librustc_builtin_macros/test.rs +++ b/src/librustc_builtin_macros/test.rs @@ -292,7 +292,7 @@ pub fn expand_test_or_bench( // extern crate test let test_extern = cx.item(sp, test_id, vec![], ast::ItemKind::ExternCrate(None)); - log::debug!("synthetic test item:\n{}\n", pprust::item_to_string(&test_const)); + tracing::debug!("synthetic test item:\n{}\n", pprust::item_to_string(&test_const)); vec