[ty] Improve semantic token classification for names (#21399)

This commit is contained in:
Micha Reiser
2025-11-12 17:34:26 +01:00
committed by GitHub
parent 84c3cecad6
commit 43427abb61
7 changed files with 389 additions and 221 deletions

View File

@@ -85,6 +85,7 @@ where
///
/// This method may panic or produce unspecified results if the provided module is from a
/// different file or Salsa revision than the module to which the node belongs.
#[track_caller]
pub fn node<'ast>(&self, module_ref: &'ast ParsedModuleRef) -> &'ast T {
#[cfg(debug_assertions)]
assert_eq!(module_ref.module().addr(), self.module_addr);