rustc_data_structures::sync

Constant ERROR_CHECKING

Source
const ERROR_CHECKING: bool = false;
Expand description

This makes locks panic if they are already held. It is only useful when you are running in a single thread