1
Fork 0

Generalize AST and ty::Generics to accept multiple lifetimes.

This commit is contained in:
Niko Matsakis 2013-10-29 06:03:32 -04:00
parent 85c51d3b02
commit 1f4faaee40
52 changed files with 1510 additions and 1454 deletions

View file

@ -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,
},
],