internal: start new macro test suite

I don't like our macro tests -- they are brittle and don't inspire
confidence. I think the reason for that is that we try to unit-test
them, but that is at odds with reality, where macro expansion
fundamentally depends on name resolution.
This commit is contained in:
Aleksey Kladov 2021-10-09 13:42:32 +03:00
parent 545b068a77
commit 093f99b809
4 changed files with 90 additions and 62 deletions

View file

@ -204,7 +204,7 @@ impl HirFileId {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct MacroFile {
macro_call_id: MacroCallId,
pub macro_call_id: MacroCallId,
}
/// `MacroCallId` identifies a particular macro invocation, like