internal: Restructure some semantics APIs for virtual macro files

This commit is contained in:
Lukas Wirth 2025-05-30 22:02:59 +02:00
parent f0e39c77cc
commit 38bf4b1fe1
12 changed files with 185 additions and 79 deletions

View file

@ -1303,6 +1303,7 @@ impl<'db> SourceAnalyzer<'db> {
false
}
/// Returns the range of the implicit template argument and its resolution at the given `offset`
pub(crate) fn resolve_offset_in_format_args(
&self,
db: &'db dyn HirDatabase,