2022-05-25 02:30:04 -05:00
|
|
|
//! The WIP stable interface to rustc internals.
|
2022-05-25 04:11:09 -05:00
|
|
|
//!
|
2022-05-25 03:48:14 -05:00
|
|
|
//! For more information see https://github.com/rust-lang/project-stable-mir
|
2022-05-25 04:11:09 -05:00
|
|
|
//!
|
2022-05-25 03:48:14 -05:00
|
|
|
//! # Note
|
|
|
|
//!
|
|
|
|
//! This API is still completely unstable and subject to change.
|
2022-05-25 02:30:04 -05:00
|
|
|
|
|
|
|
#![doc(
|
|
|
|
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
|
|
|
|
test(attr(allow(unused_variables), deny(warnings)))
|
|
|
|
)]
|
2022-06-02 04:55:54 -05:00
|
|
|
#![cfg_attr(not(feature = "default"), feature(rustc_private))]
|
2022-08-18 13:27:29 -05:00
|
|
|
#![deny(rustc::untranslatable_diagnostic)]
|
|
|
|
#![deny(rustc::diagnostic_outside_of_impl)]
|
2022-06-02 04:55:54 -05:00
|
|
|
|
2022-05-25 02:30:04 -05:00
|
|
|
pub mod mir;
|
|
|
|
|
|
|
|
pub mod very_unstable;
|