Skip to main content

UNSTABLE_IMPORTS

Static UNSTABLE_IMPORTS 

Source
pub static UNSTABLE_IMPORTS: &Lint
Expand description

The unstable_imports lints detects imports that go through unstable modules.

§Example

use core::intrinsics::transmute;

{{produces}}

§Explanation

Previous versions of Rust accidentally allowed certain imports through unstable modules because stability information of modules was not correctly accounted for if the imported item was stable itself.