We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f248d commit 50d99e0Copy full SHA for 50d99e0
src/libsyntax/parse/mod.rs
@@ -300,7 +300,7 @@ mod test {
300
use core::str;
301
use util::testing::*;
302
303
- #[test] fn to_json_str (val: Encodable<std::json::Encoder>) -> ~str {
+ #[test] fn to_json_str (val: @Encodable<std::json::Encoder>) -> ~str {
304
do io::with_str_writer |writer| {
305
val.encode(~std::json::Encoder(writer));
306
}
0 commit comments