FORCE_UNSTABLE in rustc_passes::stability - Rust
Description: If the `-Z force-unstable-if-unmarked` flag is passed then we provide a parent stability annotation which indicates that this is private with the `rustc_private` feature. This is intended for use when compiling library and `rustc_*` crates themselves so we can leverage crates.io while maintaining the invariant that all sysroot crates are unstable by default and are unable to be used.

Skip to main content

## FORCE_UNSTABLE

# Constant FORCE_UNSTABLE

Source

    const FORCE_UNSTABLE: Stability;

Expand description

If the `-Z force-unstable-if-unmarked` flag is passed then we provide a parent stability annotation which indicates that this is private with the `rustc_private` feature. This is intended for use when compiling library and `rustc_*` crates themselves so we can leverage crates.io while maintaining the invariant that all sysroot crates are unstable by default and are unable to be used.