Add #[rustc_legacy_const_generics]
This commit is contained in:
parent
9b471a3f5f
commit
d87eec1bf6
11 changed files with 310 additions and 2 deletions
|
@ -1076,6 +1076,10 @@ impl ResolverAstLowering for Resolver<'_> {
|
|||
self.cstore().item_generics_num_lifetimes(def_id, sess)
|
||||
}
|
||||
|
||||
fn item_attrs(&self, def_id: DefId, sess: &Session) -> Vec<ast::Attribute> {
|
||||
self.cstore().item_attrs(def_id, sess)
|
||||
}
|
||||
|
||||
fn get_partial_res(&mut self, id: NodeId) -> Option<PartialRes> {
|
||||
self.partial_res_map.get(&id).cloned()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue