1
Fork 0

Make 'self lifetime illegal.

Also remove all instances of 'self within the codebase.

This fixes #10889.
This commit is contained in:
Erik Price 2013-12-09 23:16:18 -08:00
parent d441c54688
commit 5731ca3078
187 changed files with 1290 additions and 1277 deletions

View file

@ -34,11 +34,11 @@ use std::io::Decorator;
use std::io::mem::MemWriter;
// The @ps is stored here to prevent recursive type.
pub enum ann_node<'self> {
node_block(@ps, &'self ast::Block),
node_item(@ps, &'self ast::item),
node_expr(@ps, &'self ast::Expr),
node_pat(@ps, &'self ast::Pat),
pub enum ann_node<'a> {
node_block(@ps, &'a ast::Block),
node_item(@ps, &'a ast::item),
node_expr(@ps, &'a ast::Expr),
node_pat(@ps, &'a ast::Pat),
}
pub trait pp_ann {