File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ impl<'a> Item<'a> {
148148 Item {
149149 unsafety : fm. unsafety ,
150150 abi : format_extern (
151- ast:: Extern :: from_abi ( fm. abi ) ,
151+ ast:: Extern :: from_abi ( fm. abi , DUMMY_SP ) ,
152152 config. force_explicit_abi ( ) ,
153153 true ,
154154 ) ,
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ pub(crate) fn format_extern(
138138) -> Cow < ' static , str > {
139139 let abi = match ext {
140140 ast:: Extern :: None => "Rust" . to_owned ( ) ,
141- ast:: Extern :: Implicit => "C" . to_owned ( ) ,
142- ast:: Extern :: Explicit ( abi) => abi. symbol_unescaped . to_string ( ) ,
141+ ast:: Extern :: Implicit ( _ ) => "C" . to_owned ( ) ,
142+ ast:: Extern :: Explicit ( abi, _ ) => abi. symbol_unescaped . to_string ( ) ,
143143 } ;
144144
145145 if abi == "Rust" && !is_mod {
You can’t perform that action at this time.
0 commit comments