Allow non-path default type parameters
This commit is contained in:
@@ -163,9 +163,3 @@ impl Iterator for CommentIter {
|
||||
self.iter.by_ref().find_map(|el| el.into_token().and_then(ast::Comment::cast))
|
||||
}
|
||||
}
|
||||
|
||||
pub trait DefaultTypeParamOwner: AstNode {
|
||||
fn default_type(&self) -> Option<ast::PathType> {
|
||||
child_opt(self)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user