1
Fork 0

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:
Patrick Walton 2014-09-05 12:21:02 -07:00
parent 3f299ff19d
commit 5376b1c798
10 changed files with 128 additions and 10 deletions

View file

@ -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(),
}
}