Register new snapshots

This commit is contained in:
Alex Crichton 2015-01-07 10:27:52 -08:00
parent 2a8cb678e6
commit b53e9f17d3
25 changed files with 13 additions and 402 deletions

View file

@ -100,7 +100,6 @@ impl Ident {
}
}
//NOTE(stage0): remove after snapshot
impl fmt::Show for Ident {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}#{}", self.name, self.ctxt)
@ -1085,7 +1084,6 @@ pub enum IntTy {
TyI64,
}
//NOTE(stage0): remove after snapshot
impl fmt::Show for IntTy {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(self, f)
@ -1127,7 +1125,6 @@ impl UintTy {
}
}
//NOTE(stage0): remove after snapshot
impl fmt::Show for UintTy {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(self, f)
@ -1146,7 +1143,6 @@ pub enum FloatTy {
TyF64,
}
//NOTE(stage0): remove after snapshot
impl fmt::Show for FloatTy {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(self, f)

View file

@ -32,7 +32,7 @@ use std::slice;
pub mod blocks;
#[derive(Clone, Copy, PartialEq)]
#[derive(Clone, Copy, PartialEq, Show)]
pub enum PathElem {
PathMod(Name),
PathName(Name)
@ -46,13 +46,6 @@ impl PathElem {
}
}
//NOTE(stage0): replace with deriving(Show) after snapshot
impl fmt::Show for PathElem {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(self, f)
}
}
impl fmt::String for PathElem {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let slot = token::get_name(self.name());