Skip to main content

place_table

Function place_table 

Source
pub fn place_table<'db>(
    db: &'db dyn Db,
    scope: ScopeId<'db>,
) -> &'db <Arc<PlaceTable> as Deref>::Target 
Expand description

Returns the place table for a specific scope.

Using place_table over semantic_index has the advantage that Salsa can avoid invalidating dependent queries if this scope’s place table is unchanged.