mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Prepare SourceAnalyzer for macros
This commit is contained in:
parent
ad10c4b8e2
commit
1c819fc8f6
@ -90,7 +90,6 @@ fn def_with_body_from_child_node(
|
|||||||
/// original source files. It should not be used inside the HIR itself.
|
/// original source files. It should not be used inside the HIR itself.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct SourceAnalyzer {
|
pub struct SourceAnalyzer {
|
||||||
// FIXME: this doesn't handle macros at all
|
|
||||||
file_id: HirFileId,
|
file_id: HirFileId,
|
||||||
resolver: Resolver,
|
resolver: Resolver,
|
||||||
body_owner: Option<DefWithBody>,
|
body_owner: Option<DefWithBody>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user