Skip to content

Commit afa9e31

Browse files
Merge #10377
10377: fix: fix proc macro crash on nightly r=jonas-schievink a=jonas-schievink Fixes #10235 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
2 parents bcf04b1 + 9641bc7 commit afa9e31

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/proc_macro_srv/src/abis/abi_1_56/rustc_server.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,10 +653,12 @@ impl server::Span for Rustc {
653653
unimplemented!()
654654
}
655655
fn save_span(&mut self, _span: Self::Span) -> usize {
656-
unimplemented!()
656+
// FIXME stub
657+
0
657658
}
658659
fn recover_proc_macro_span(&mut self, _id: usize) -> Self::Span {
659-
unimplemented!()
660+
// FIXME stub
661+
tt::TokenId::unspecified()
660662
}
661663
/// Recent feature, not yet in the proc_macro
662664
///

0 commit comments

Comments
 (0)