@@ -52,7 +52,6 @@ rustc_queries! {
52
52
/// This can be conveniently accessed by `tcx.hir().visit_item_likes_in_module`.
53
53
/// Avoid calling this query directly.
54
54
query hir_module_items( key: LocalDefId ) -> & ' tcx hir:: ModuleItems {
55
- eval_always
56
55
desc { |tcx| "HIR module items in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
57
56
}
58
57
@@ -61,7 +60,6 @@ rustc_queries! {
61
60
/// This can be conveniently accessed by methods on `tcx.hir()`.
62
61
/// Avoid calling this query directly.
63
62
query hir_owner( key: LocalDefId ) -> Option <crate :: hir:: Owner <' tcx>> {
64
- eval_always
65
63
desc { |tcx| "HIR owner of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
66
64
}
67
65
@@ -70,7 +68,6 @@ rustc_queries! {
70
68
/// This can be conveniently accessed by methods on `tcx.hir()`.
71
69
/// Avoid calling this query directly.
72
70
query hir_owner_parent( key: LocalDefId ) -> hir:: HirId {
73
- eval_always
74
71
desc { |tcx| "HIR parent of `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
75
72
}
76
73
@@ -79,7 +76,6 @@ rustc_queries! {
79
76
/// This can be conveniently accessed by methods on `tcx.hir()`.
80
77
/// Avoid calling this query directly.
81
78
query hir_owner_nodes( key: LocalDefId ) -> Option <& ' tcx crate :: hir:: OwnerNodes <' tcx>> {
82
- eval_always
83
79
desc { |tcx| "HIR owner items in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
84
80
}
85
81
@@ -88,7 +84,6 @@ rustc_queries! {
88
84
/// This can be conveniently accessed by methods on `tcx.hir()`.
89
85
/// Avoid calling this query directly.
90
86
query hir_attrs( key: LocalDefId ) -> rustc_middle:: hir:: AttributeMap <' tcx> {
91
- eval_always
92
87
desc { |tcx| "HIR owner attributes in `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
93
88
}
94
89
@@ -940,12 +935,6 @@ rustc_queries! {
940
935
941
936
query def_span( def_id: DefId ) -> Span {
942
937
desc { |tcx| "looking up span for `{}`" , tcx. def_path_str( def_id) }
943
- // FIXME(mw): DefSpans are not really inputs since they are derived from
944
- // HIR. But at the moment HIR hashing still contains some hacks that allow
945
- // to make type debuginfo to be source location independent. Declaring
946
- // DefSpan an input makes sure that changes to these are always detected
947
- // regardless of HIR hashing.
948
- eval_always
949
938
}
950
939
951
940
query def_ident_span( def_id: DefId ) -> Option <Span > {
0 commit comments