diff options
| author | Celina G. Val <celinval@amazon.com> | 2023-03-03 17:08:49 -0800 |
|---|---|---|
| committer | Celina G. Val <celinval@amazon.com> | 2023-03-06 21:57:46 -0800 |
| commit | b66db7e4e04ba039967b659473595a13409e0b18 (patch) | |
| tree | e2c04cd92b82642093b5165e98eacad5ef000a76 /compiler/rustc_smir/src/lib.rs | |
| parent | 40185dba540dcbbc9e20e29b15fd69a25d52c256 (diff) | |
| download | rust-b66db7e4e04ba039967b659473595a13409e0b18.tar.gz rust-b66db7e4e04ba039967b659473595a13409e0b18.zip | |
Create new rustc_smir struct to map future crates
+ Add some information to the README.md
Diffstat (limited to 'compiler/rustc_smir/src/lib.rs')
| -rw-r--r-- | compiler/rustc_smir/src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler/rustc_smir/src/lib.rs b/compiler/rustc_smir/src/lib.rs index 280b704f233..54d474db038 100644 --- a/compiler/rustc_smir/src/lib.rs +++ b/compiler/rustc_smir/src/lib.rs @@ -11,5 +11,9 @@ test(attr(allow(unused_variables), deny(warnings))) )] #![cfg_attr(not(feature = "default"), feature(rustc_private))] -#![deny(rustc::untranslatable_diagnostic)] -#![deny(rustc::diagnostic_outside_of_impl)] + +pub mod rustc_internal; +pub mod stable_mir; + +// Make this module private for now since external users should not call these directly. +mod rustc_smir; |
