@@ -64,7 +64,7 @@ mod rustc {
6464 impl < ' tcx > MaybeTransmutableQuery < Ty < ' tcx > , TyCtxt < ' tcx > > {
6565 /// This method begins by converting `src` and `dst` from `Ty`s to `Tree`s,
6666 /// then computes an answer using those trees.
67- #[ tracing :: instrument( skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
67+ #[ instrument( level = "DEBUG" , skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
6868 pub fn answer ( self ) -> Answer < <TyCtxt < ' tcx > as QueryContext >:: Ref > {
6969 let query_or_answer = self . map_layouts ( |src, dst, scope, & context| {
7070 // Convert `src` and `dst` from their rustc representations, to `Tree`-based
@@ -103,14 +103,14 @@ where
103103 /// This method begins by de-def'ing `src` and `dst`, and prunes private paths from `dst`,
104104 /// then converts `src` and `dst` to `Nfa`s, and computes an answer using those NFAs.
105105 #[ inline( always) ]
106- #[ tracing :: instrument( skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
106+ #[ instrument( level = "DEBUG" , skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
107107 pub ( crate ) fn answer ( self ) -> Answer < <C as QueryContext >:: Ref > {
108108 let assume_visibility = self . assume . visibility ;
109109 let query_or_answer = self . map_layouts ( |src, dst, scope, context| {
110110 // Remove all `Def` nodes from `src`, without checking their visibility.
111111 let src = src. prune ( & |def| true ) ;
112112
113- tracing:: trace!( src = ?src, "pruned src" ) ;
113+ tracing:: trace!( ?src, "pruned src" ) ;
114114
115115 // Remove all `Def` nodes from `dst`, additionally...
116116 let dst = if assume_visibility {
@@ -121,7 +121,7 @@ where
121121 dst. prune ( & |def| context. is_accessible_from ( def, scope) )
122122 } ;
123123
124- tracing:: trace!( dst = ?dst, "pruned dst" ) ;
124+ tracing:: trace!( ?dst, "pruned dst" ) ;
125125
126126 // Convert `src` from a tree-based representation to an NFA-based representation.
127127 // If the conversion fails because `src` is uninhabited, conclude that the transmutation
@@ -152,7 +152,7 @@ where
152152 ///
153153 /// This method converts `src` and `dst` to DFAs, then computes an answer using those DFAs.
154154 #[ inline( always) ]
155- #[ tracing :: instrument( skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
155+ #[ instrument( level = "DEBUG" , skip( self ) , fields( src = ?self . src, dst = ?self . dst) ) ]
156156 pub ( crate ) fn answer ( self ) -> Answer < <C as QueryContext >:: Ref > {
157157 let query_or_answer = self
158158 . map_layouts ( |src, dst, scope, context| Ok ( ( Dfa :: from_nfa ( src) , Dfa :: from_nfa ( dst) ) ) ) ;
@@ -192,7 +192,7 @@ where
192192 }
193193
194194 #[ inline( always) ]
195- #[ tracing :: instrument( skip( self ) ) ]
195+ #[ instrument( level = "DEBUG" , skip( self ) ) ]
196196 fn answer_memo (
197197 & self ,
198198 cache : & mut Map < ( dfa:: State , dfa:: State ) , Answer < <C as QueryContext >:: Ref > > ,
0 commit comments