Fix resolution of eager macro contents

This commit is contained in:
Jonas Schievink
2022-01-26 18:31:07 +01:00
parent 1f0c20e8ba
commit 35e5c3b3f9
12 changed files with 375 additions and 305 deletions

View File

@@ -14,11 +14,13 @@ pub mod builtin_fn_macro;
pub mod proc_macro;
pub mod quote;
pub mod eager;
pub mod mod_path;
use base_db::ProcMacroKind;
use either::Either;
pub use mbe::{ExpandError, ExpandResult, Origin};
use mod_path::ModPath;
use std::{hash::Hash, iter, sync::Arc};
@@ -835,3 +837,8 @@ impl ExpandTo {
}
}
}
#[derive(Debug)]
pub struct UnresolvedMacro {
pub path: ModPath,
}