repr: add support for trait objects

Closes #8916
This commit is contained in:
Daniel Micay 2013-09-02 01:15:03 -04:00
parent 7a52154d78
commit cc1f0027c7
6 changed files with 20 additions and 13 deletions

View file

@ -256,7 +256,7 @@ pub trait TyVisitor {
fn visit_leave_fn(&mut self, purity: uint, proto: uint,
n_inputs: uint, retstyle: uint) -> bool;
fn visit_trait(&mut self) -> bool;
fn visit_trait(&mut self, name: &str) -> bool;
fn visit_param(&mut self, i: uint) -> bool;
fn visit_self(&mut self) -> bool;
fn visit_type(&mut self) -> bool;