@@ -62,7 +62,6 @@ rustc_queries! {
6262 /// This can be conveniently accessed by methods on `tcx.hir()`.
6363 /// Avoid calling this query directly.
6464 query hir_owner( key: LocalDefId ) -> Option <crate :: hir:: Owner <' tcx>> {
65- eval_always
6665 desc { |tcx| "HIR owner of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
6766 }
6867
@@ -71,7 +70,6 @@ rustc_queries! {
7170 /// This can be conveniently accessed by methods on `tcx.hir()`.
7271 /// Avoid calling this query directly.
7372 query hir_owner_parent( key: LocalDefId ) -> hir:: HirId {
74- eval_always
7573 desc { |tcx| "HIR parent of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
7674 }
7775
@@ -80,7 +78,6 @@ rustc_queries! {
8078 /// This can be conveniently accessed by methods on `tcx.hir()`.
8179 /// Avoid calling this query directly.
8280 query hir_owner_nodes( key: LocalDefId ) -> Option <& ' tcx crate :: hir:: OwnerNodes <' tcx>> {
83- eval_always
8481 desc { |tcx| "HIR owner items in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
8582 }
8683
@@ -89,7 +86,6 @@ rustc_queries! {
8986 /// This can be conveniently accessed by methods on `tcx.hir()`.
9087 /// Avoid calling this query directly.
9188 query hir_attrs( key: LocalDefId ) -> rustc_middle:: hir:: AttributeMap <' tcx> {
92- eval_always
9389 desc { |tcx| "HIR owner attributes in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
9490 }
9591
@@ -933,12 +929,6 @@ rustc_queries! {
933929
934930 query def_span( def_id: DefId ) -> Span {
935931 desc { |tcx| "looking up span for `{}`" , tcx. def_path_str( def_id) }
936- // FIXME(mw): DefSpans are not really inputs since they are derived from
937- // HIR. But at the moment HIR hashing still contains some hacks that allow
938- // to make type debuginfo to be source location independent. Declaring
939- // DefSpan an input makes sure that changes to these are always detected
940- // regardless of HIR hashing.
941- eval_always
942932 }
943933
944934 query def_ident_span( def_id: DefId ) -> Option <Span > {
0 commit comments