Static rustc_lint::internal::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.