metadata: Constrain FoundAst::FoundParent to an Item.
This commit is contained in:
parent
b918e37eb3
commit
062a05dde8
4 changed files with 69 additions and 100 deletions
|
|
@ -122,7 +122,7 @@ pub struct ChildItem {
|
|||
|
||||
pub enum FoundAst<'ast> {
|
||||
Found(&'ast InlinedItem),
|
||||
FoundParent(DefId, &'ast InlinedItem),
|
||||
FoundParent(DefId, &'ast hir::Item),
|
||||
NotFound,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue