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 b2b2033 commit 4c1208aCopy full SHA for 4c1208a
src/plugin.rs
@@ -82,7 +82,7 @@ fn parse_json(cx: &ExtCtxt, parser: &mut Parser) -> P<Expr> {
82
($expr).to_json()
83
}})
84
},
85
- &Token::Ident(id, IdentStyle::Plain) if id.as_str() == "null" => {
+ &Token::Ident(id, IdentStyle::Plain) if id.name.as_str() == "null" => {
86
let _ = parser.bump();
87
quote_expr!(cx, { ::rustc_serialize::json::Json::Null })
88
0 commit comments