@@ -62,7 +62,6 @@ rustc_queries! {
62
62
/// This can be conveniently accessed by methods on `tcx.hir()`.
63
63
/// Avoid calling this query directly.
64
64
query hir_owner( key: LocalDefId ) -> Option <crate :: hir:: Owner <' tcx>> {
65
- eval_always
66
65
desc { |tcx| "HIR owner of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
67
66
}
68
67
@@ -71,7 +70,6 @@ rustc_queries! {
71
70
/// This can be conveniently accessed by methods on `tcx.hir()`.
72
71
/// Avoid calling this query directly.
73
72
query hir_owner_parent( key: LocalDefId ) -> hir:: HirId {
74
- eval_always
75
73
desc { |tcx| "HIR parent of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
76
74
}
77
75
@@ -80,7 +78,6 @@ rustc_queries! {
80
78
/// This can be conveniently accessed by methods on `tcx.hir()`.
81
79
/// Avoid calling this query directly.
82
80
query hir_owner_nodes( key: LocalDefId ) -> Option <& ' tcx crate :: hir:: OwnerNodes <' tcx>> {
83
- eval_always
84
81
desc { |tcx| "HIR owner items in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
85
82
}
86
83
@@ -89,7 +86,6 @@ rustc_queries! {
89
86
/// This can be conveniently accessed by methods on `tcx.hir()`.
90
87
/// Avoid calling this query directly.
91
88
query hir_attrs( key: LocalDefId ) -> rustc_middle:: hir:: AttributeMap <' tcx> {
92
- eval_always
93
89
desc { |tcx| "HIR owner attributes in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
94
90
}
95
91
@@ -933,12 +929,6 @@ rustc_queries! {
933
929
934
930
query def_span( def_id: DefId ) -> Span {
935
931
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
942
932
}
943
933
944
934
query def_ident_span( def_id: DefId ) -> Option <Span > {
0 commit comments