Expand description
Check the bodies of consts, statics and const fns for illegal operations.
This module will eventually replace the parts of qualify_consts.rs that check whether a local
has interior mutability or needs to be dropped, as well as the visitor that emits errors when
it finds operations that are invalid in a certain context.
Re-exports§
pub use self::qualifs::Qualif;
Modules§
- check
 - The 
Visitorresponsible for actually checking amir::Bodyfor invalid operations. - ops 🔒
 - Concrete error types for all operations which may be invalid in a certain const context.
 - post_
drop_ elaboration  - qualifs
 - Structural const qualification.
 - resolver 🔒
 - Propagate 
Qualifs between locals and query the results. 
Structs§
- ConstCx
 - Information about the item currently being const-checked, as well as a reference to the global context.
 
Functions§
- is_
fn_ or_ trait_ safe_ to_ expose_ on_ stable  - Returns 
trueif the givendef_id(trait or function) is “safe to expose on stable”. - rustc_
allow_ const_ fn_ unstable