about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-08-31 13:01:10 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-09-01 14:53:46 +0000
commitd3b22c726721639c1ab104a8ff8b3a17fd5e99d7 (patch)
tree240f7f508355ccac53613ddb06db6b7f57fc17a8 /compiler/rustc_const_eval/src/interpret
parent4f9898a7947059433d08357cdaaba84c4705873d (diff)
downloadrust-d3b22c726721639c1ab104a8ff8b3a17fd5e99d7.tar.gz
rust-d3b22c726721639c1ab104a8ff8b3a17fd5e99d7.zip
Directly use the `instrument` macro instead of its full path
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/intern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/intern.rs b/compiler/rustc_const_eval/src/interpret/intern.rs
index 66ab3f15716..24dbc769529 100644
--- a/compiler/rustc_const_eval/src/interpret/intern.rs
+++ b/compiler/rustc_const_eval/src/interpret/intern.rs
@@ -334,7 +334,7 @@ pub enum InternKind {
 /// tracks where in the value we are and thus can show much better error messages.
 /// Any errors here would anyway be turned into `const_err` lints, whereas validation failures
 /// are hard errors.
-#[tracing::instrument(level = "debug", skip(ecx))]
+#[instrument(level = "debug", skip(ecx))]
 pub fn intern_const_alloc_recursive<
     'mir,
     'tcx: 'mir,