librustc: Parse and resolve higher-rank lifetimes in traits.
They will ICE during typechecking if used, because they depend on trait reform. This is part of unboxed closures.
This commit is contained in:
parent
3f299ff19d
commit
5376b1c798
10 changed files with 128 additions and 10 deletions
|
@ -435,7 +435,8 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
fn trait_ref(&self, path: ast::Path) -> ast::TraitRef {
|
||||
ast::TraitRef {
|
||||
path: path,
|
||||
ref_id: ast::DUMMY_NODE_ID
|
||||
ref_id: ast::DUMMY_NODE_ID,
|
||||
lifetimes: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue