Crate rustc_const_eval [−] [src]
🔬 This is a nightly-only experimental API. (
rustc_private
)constant evaluation on the HIR and code to validate patterns/matches
Note
This API is completely unstable and subject to change.
Modules
check_match |
[ Experimental ]
|
diagnostics |
[ Experimental ]
|
pattern |
[ Experimental ]
|
Structs
ConstContext |
[ Experimental ]
|
ConstEvalErr |
[ Experimental ]
|
Enums
ConstEvalErrDescription |
[ Experimental ]
|
ErrKind |
[ Experimental ]
|
Constants
DIAGNOSTICS |
[ Experimental ]
|
Functions
compare_const_vals |
[ Experimental ]
|
eval_length |
[ Experimental ] Returns the value of the length-valued expression |
fatal_const_eval_err |
[ Experimental ]
|
lookup_const_by_id |
[ Experimental ]
|
note_const_eval_err |
[ Experimental ]
|
report_const_eval_err |
[ Experimental ]
|
Type Definitions
CastResult |
[ Experimental ]
|
EvalResult |
[ Experimental ]
|