[−][src]Module rustc_passes::rvalue_promotion
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Structs
| CheckCrateVisitor |
[ Experimental ]
|
Enums
| Promotability |
[ Experimental ]
|
Functions
| check_adjustments |
[ Experimental ] Check the adjustments of an expression |
| check_crate |
[ Experimental ]
|
| check_expr_kind |
[ Experimental ] This function is used to enforce the constraints on const/static items. It walks through the value of the item walking down the expression and evaluating every nested expression. If the expression is not part of a const/static item, it is qualified for promotion instead of producing errors. |
| const_is_rvalue_promotable_to_static |
[ Experimental ]
|
| provide |
[ Experimental ]
|
| rvalue_promotable_map |
[ Experimental ]
|