Skip to content

Commit 7002a3f

Browse files
committed
interpret: use trace to reduce noice
1 parent 62a2875 commit 7002a3f

File tree

1 file changed

+6
-6
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+6
-6
lines changed

compiler/rustc_const_eval/src/interpret/place.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ where
441441

442442
/// Take an operand, representing a pointer, and dereference it to a place.
443443
/// Corresponds to the `*` operator in Rust.
444-
#[instrument(skip(self), level = "debug")]
444+
#[instrument(skip(self), level = "trace")]
445445
pub fn deref_pointer(
446446
&self,
447447
src: &impl Readable<'tcx, M::Provenance>,
@@ -533,7 +533,7 @@ where
533533

534534
/// Computes a place. You should only use this if you intend to write into this
535535
/// place; for reading, a more efficient alternative is `eval_place_to_op`.
536-
#[instrument(skip(self), level = "debug")]
536+
#[instrument(skip(self), level = "trace")]
537537
pub fn eval_place(
538538
&self,
539539
mir_place: mir::Place<'tcx>,
@@ -570,7 +570,7 @@ where
570570

571571
/// Write an immediate to a place
572572
#[inline(always)]
573-
#[instrument(skip(self), level = "debug")]
573+
#[instrument(skip(self), level = "trace")]
574574
pub fn write_immediate(
575575
&mut self,
576576
src: Immediate<M::Provenance>,
@@ -808,7 +808,7 @@ where
808808
/// Copies the data from an operand to a place.
809809
/// `allow_transmute` indicates whether the layouts may disagree.
810810
#[inline(always)]
811-
#[instrument(skip(self), level = "debug")]
811+
#[instrument(skip(self), level = "trace")]
812812
fn copy_op_inner(
813813
&mut self,
814814
src: &impl Readable<'tcx, M::Provenance>,
@@ -837,7 +837,7 @@ where
837837
/// `allow_transmute` indicates whether the layouts may disagree.
838838
/// Also, if you use this you are responsible for validating that things get copied at the
839839
/// right type.
840-
#[instrument(skip(self), level = "debug")]
840+
#[instrument(skip(self), level = "trace")]
841841
fn copy_op_no_validate(
842842
&mut self,
843843
src: &impl Readable<'tcx, M::Provenance>,
@@ -914,7 +914,7 @@ where
914914
/// If the place currently refers to a local that doesn't yet have a matching allocation,
915915
/// create such an allocation.
916916
/// This is essentially `force_to_memplace`.
917-
#[instrument(skip(self), level = "debug")]
917+
#[instrument(skip(self), level = "trace")]
918918
pub fn force_allocation(
919919
&mut self,
920920
place: &PlaceTy<'tcx, M::Provenance>,

0 commit comments

Comments
 (0)