mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Stronger typing for macro_arg query
This commit is contained in:
parent
e8182a5bb3
commit
87e0bbc534
2 changed files with 158 additions and 171 deletions
|
@ -176,6 +176,7 @@ pub struct MacroCallLoc {
|
|||
// leakage problems here
|
||||
eager: Option<Arc<EagerCallInfo>>,
|
||||
pub kind: MacroCallKind,
|
||||
// FIXME: Spans while relative to an anchor, are still rather unstable
|
||||
pub call_site: Span,
|
||||
}
|
||||
impl_intern_value_trivial!(MacroCallLoc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue