mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-19 07:41:00 +00:00
Update to rust HEAD
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user