Prepare SourceAnalyzer for macros
This commit is contained in:
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user