use GlobalId in eval_to_valtree query and introduce query for valtree_to_const_val
This commit is contained in:
parent
56d540e057
commit
96b36d6eb2
27 changed files with 541 additions and 245 deletions
|
@ -27,6 +27,7 @@ use rustc_middle::ty::query::Providers;
|
|||
pub fn provide(providers: &mut Providers) {
|
||||
providers.check_match = thir::pattern::check_match;
|
||||
providers.lit_to_const = thir::constant::lit_to_const;
|
||||
providers.lit_to_mir_constant = build::lit_to_mir_constant;
|
||||
providers.mir_built = build::mir_built;
|
||||
providers.thir_check_unsafety = check_unsafety::thir_check_unsafety;
|
||||
providers.thir_check_unsafety_for_const_arg = check_unsafety::thir_check_unsafety_for_const_arg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue