Add opt_rpitit_info query
This commit is contained in:
parent
5423745db8
commit
5295de1694
3 changed files with 15 additions and 0 deletions
|
@ -177,6 +177,7 @@ pub fn provide(providers: &mut Providers) {
|
|||
}
|
||||
};
|
||||
providers.opt_def_kind = |tcx, def_id| tcx.hir().opt_def_kind(def_id.expect_local());
|
||||
providers.opt_rpitit_info = |_, _| None;
|
||||
providers.all_local_trait_impls = |tcx, ()| &tcx.resolutions(()).trait_impls;
|
||||
providers.expn_that_defined = |tcx, id| {
|
||||
let id = id.expect_local();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue