Files
rust/compiler/rustc_smir/src/lib.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
681 B
Rust
Raw Normal View History

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)))
)]
#![cfg_attr(not(bootstrap), doc(rust_logo))]
#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
#![cfg_attr(not(bootstrap), allow(internal_features))]
#![allow(rustc::usage_of_ty_tykind)]
pub mod rustc_internal;
// Make this module private for now since external users should not call these directly.
mod rustc_smir;