Issue #5656: Make &self not mean "&'self self"

Fixes #5656.
Fixes #5541.
This commit is contained in:
Niko Matsakis 2013-04-10 13:11:27 -07:00
parent 3322595e89
commit 49de82cdca
16 changed files with 337 additions and 296 deletions

View file

@ -750,6 +750,12 @@ impl Repr for ty::TraitStore {
}
}
impl Repr for ty::vstore {
fn repr(&self, tcx: ctxt) -> ~str {
vstore_to_str(tcx, *self)
}
}
// Local Variables:
// mode: rust
// fill-column: 78;