]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_ast_pretty/pprust.rs
Rollup merge of #73597 - ayazhafiz:i/const-span, r=ecstatic-morse
[rust.git] / src / librustc_ast_pretty / pprust.rs
index ecbb3af5fb9067b5212324d9e6cc81d0cc7f3dbe..86faa1f086ce2bf4edbac2fba0dc58626b811465 100644 (file)
@@ -266,7 +266,7 @@ fn token_kind_to_string_ext(tok: &TokenKind, convert_dollar_crate: Option<Span>)
         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),
     }
 }