syntax: Remove dead code from the parser
This commit is contained in:
parent
b26ae289d0
commit
2e0b363a7f
1 changed files with 0 additions and 8 deletions
|
@ -3116,14 +3116,6 @@ pub impl Parser {
|
||||||
// impl<T> Foo { ... }
|
// impl<T> Foo { ... }
|
||||||
// impl<T> ToStr for ~[T] { ... }
|
// impl<T> ToStr for ~[T] { ... }
|
||||||
fn parse_item_impl(&self, visibility: ast::visibility) -> item_info {
|
fn parse_item_impl(&self, visibility: ast::visibility) -> item_info {
|
||||||
fn wrap_path(p: &Parser, pt: @path) -> @Ty {
|
|
||||||
@Ty {
|
|
||||||
id: p.get_id(),
|
|
||||||
node: ty_path(pt, p.get_id()),
|
|
||||||
span: pt.span,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// First, parse type parameters if necessary.
|
// First, parse type parameters if necessary.
|
||||||
let generics = self.parse_generics();
|
let generics = self.parse_generics();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue