Generalize AST and ty::Generics to accept multiple lifetimes.
This commit is contained in:
parent
85c51d3b02
commit
1f4faaee40
52 changed files with 1510 additions and 1454 deletions
|
@ -116,12 +116,12 @@ impl fold::ast_fold for StandardLibraryInjector {
|
|||
segments: ~[
|
||||
ast::PathSegment {
|
||||
identifier: self.sess.ident_of("std"),
|
||||
lifetime: None,
|
||||
lifetimes: opt_vec::Empty,
|
||||
types: opt_vec::Empty,
|
||||
},
|
||||
ast::PathSegment {
|
||||
identifier: self.sess.ident_of("prelude"),
|
||||
lifetime: None,
|
||||
lifetimes: opt_vec::Empty,
|
||||
types: opt_vec::Empty,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue