Implement save_span / recover_proc_macro_span

This commit is contained in:
Jonas Schievink 2021-09-27 19:42:39 +02:00
parent 5d4bb05fff
commit 9641bc7369

View File

@ -653,10 +653,12 @@ fn source_file(&mut self, _span: Self::Span) -> Self::SourceFile {
unimplemented!()
}
fn save_span(&mut self, _span: Self::Span) -> usize {
unimplemented!()
// FIXME stub
0
}
fn recover_proc_macro_span(&mut self, _id: usize) -> Self::Span {
unimplemented!()
// FIXME stub
tt::TokenId::unspecified()
}
/// Recent feature, not yet in the proc_macro
///