1
Fork 0

ast: Add span to Extern

This commit is contained in:
Nixon Enraght-Moony 2022-07-02 18:25:55 +01:00
parent 5018181c79
commit 18ca2946e0
10 changed files with 32 additions and 19 deletions

View file

@ -1734,10 +1734,10 @@ impl<'a> State<'a> {
match header.ext {
ast::Extern::None => {}
ast::Extern::Implicit => {
ast::Extern::Implicit(_) => {
self.word_nbsp("extern");
}
ast::Extern::Explicit(abi) => {
ast::Extern::Explicit(abi, _) => {
self.word_nbsp("extern");
self.print_literal(&abi.as_lit());
self.nbsp();