File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
compiler/rustc_middle/src/query Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -640,13 +640,11 @@ rustc_queries! {
640
640
/// `is_const_fn` function. Consider using `is_const_fn` or `is_const_fn_raw` instead.
641
641
query constness( key: DefId ) -> hir:: Constness {
642
642
desc { |tcx| "checking if item is const: `{}`" , tcx. def_path_str( key) }
643
- cache_on_disk_if { key. is_local( ) }
644
643
separate_provide_extern
645
644
}
646
645
647
646
query asyncness( key: DefId ) -> hir:: IsAsync {
648
647
desc { |tcx| "checking if the function is async: `{}`" , tcx. def_path_str( key) }
649
- cache_on_disk_if { key. is_local( ) }
650
648
separate_provide_extern
651
649
}
652
650
@@ -1186,9 +1184,9 @@ rustc_queries! {
1186
1184
1187
1185
query fn_arg_names( def_id: DefId ) -> & ' tcx [ rustc_span:: symbol:: Ident ] {
1188
1186
desc { |tcx| "looking up function parameter names for `{}`" , tcx. def_path_str( def_id) }
1189
- cache_on_disk_if { def_id. is_local( ) }
1190
1187
separate_provide_extern
1191
1188
}
1189
+
1192
1190
/// Gets the rendered value of the specified constant or associated constant.
1193
1191
/// Used by rustdoc.
1194
1192
query rendered_const( def_id: DefId ) -> String {
You can’t perform that action at this time.
0 commit comments