Merge #10377
10377: fix: fix proc macro crash on nightly r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10235 bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
afa9e31b80
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user