rustc_smir/lib.rs
1//! The WIP stable interface to rustc internals.
2//!
3//! For more information see <https://github.com/rust-lang/project-stable-mir>
4//!
5//! # Note
6//!
7//! This API is still completely unstable and subject to change.
8
9// tidy-alphabetical-start
10#![allow(internal_features)]
11#![allow(rustc::usage_of_ty_tykind)]
12#![doc(
13 html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
14 test(attr(allow(unused_variables), deny(warnings)))
15)]
16#![doc(rust_logo)]
17#![feature(rustdoc_internals)]
18#![warn(unreachable_pub)]
19// tidy-alphabetical-end
20
21pub mod rustc_internal;
22
23// Make this module private for now since external users should not call these directly.
24mod rustc_smir;