Update to rust HEAD

This commit is contained in:
Erick Tryzelaar
2015-01-07 07:51:59 -08:00
parent b98719a4a0
commit 8715a41158
23 changed files with 295 additions and 255 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
#![feature(associated_types, phase, old_orphan_check)]
#![feature(plugin)]
#[phase(plugin)]
#[plugin]
extern crate serde_macros;
extern crate serde;
@@ -91,7 +91,9 @@ mod decoder {
}
}
impl Decoder<Error> for OuterDecoder {
impl Decoder for OuterDecoder {
type Error = Error;
fn error(&mut self, msg: &str) -> Error {
Error::OtherError(msg.to_string())
}