2022-05-25 07:30:04 +00:00
|
|
|
//! The WIP stable interface to rustc internals.
|
2022-05-25 09:11:09 +00:00
|
|
|
//!
|
2023-07-13 22:25:21 +02:00
|
|
|
//! For more information see <https://github.com/rust-lang/project-stable-mir>
|
2022-05-25 09:11:09 +00:00
|
|
|
//!
|
2022-05-25 08:48:14 +00:00
|
|
|
//! # Note
|
|
|
|
//!
|
|
|
|
//! This API is still completely unstable and subject to change.
|
2022-05-25 07:30:04 +00:00
|
|
|
|
|
|
|
#![doc(
|
|
|
|
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
|
|
|
|
test(attr(allow(unused_variables), deny(warnings)))
|
|
|
|
)]
|
2023-11-13 07:39:17 -05:00
|
|
|
#![doc(rust_logo)]
|
|
|
|
#![feature(rustdoc_internals)]
|
|
|
|
#![allow(internal_features)]
|
2023-10-23 20:32:31 -07:00
|
|
|
#![allow(rustc::usage_of_ty_tykind)]
|
2023-03-03 17:08:49 -08:00
|
|
|
|
|
|
|
pub mod rustc_internal;
|
|
|
|
|
|
|
|
// Make this module private for now since external users should not call these directly.
|
|
|
|
mod rustc_smir;
|