X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_ast_pretty%2Fpprust.rs;h=86faa1f086ce2bf4edbac2fba0dc58626b811465;hb=7f6dfb451a1d71c0ffa39688cfdeb8f7500e11e1;hp=ecbb3af5fb9067b5212324d9e6cc81d0cc7f3dbe;hpb=86f6c0e0861f4d223d00280107cd0b31b6ebb85b;p=rust.git diff --git a/src/librustc_ast_pretty/pprust.rs b/src/librustc_ast_pretty/pprust.rs index ecbb3af5fb9..86faa1f086c 100644 --- a/src/librustc_ast_pretty/pprust.rs +++ b/src/librustc_ast_pretty/pprust.rs @@ -266,7 +266,7 @@ fn token_kind_to_string_ext(tok: &TokenKind, convert_dollar_crate: Option) token::Shebang(s) => format!("/* shebang: {}*/", s), token::Unknown(s) => s.to_string(), - token::Interpolated(ref nt) => nonterminal_to_string(nt), + token::Interpolated(ref nt, _) => nonterminal_to_string(nt), } }