Skip to main content

## POTENTIAL_QUERY_INSTABILITY

# Static POTENTIAL_QUERY_INSTABILITY

Source

    pub static POTENTIAL_QUERY_INSTABILITY: &Lint

Expand description

The `potential_query_instability` lint detects use of methods which can lead to potential query instability, such as iterating over a `HashMap`.

Due to the incremental compilation model, queries must return deterministic, stable results. `HashMap` iteration order can change between compilations, and will introduce instability if query results expose the order.