Add generic params to impl blocks

This commit is contained in:
Florian Diebold 2019-02-16 21:19:24 +01:00
parent ccfc6b11c1
commit da7056245d
4 changed files with 16 additions and 9 deletions

View file

@ -1352,6 +1352,7 @@ impl ToOwned for ImplBlock {
}
impl ast::TypeParamsOwner for ImplBlock {}
impl ImplBlock {
pub fn item_list(&self) -> Option<&ItemList> {
super::child_opt(self)