Module intrinsicck
rustc_
hir_
typeck
1.84.0-dev
Module intrinsicck
Module Items
Functions
In crate rustc_
hir_
typeck
Modules
_match
autoderef
callee
cast
check
closure
coercion
demand
diverges
errors
expectation
expr
expr_use_visitor
fallback
fn_ctxt
gather_locals
intrinsicck
method
op
pat
place_op
rvalue_scopes
typeck_root_ctxt
upvar
writeback
Macros
type_error_struct
Structs
BreakableCtxt
CoroutineTypes
EnclosingBreakables
Enums
Needs
PlaceOp
TupleArgumentsFlag
Statics
DEFAULT_LOCALE_RESOURCE
Functions
can_coerce
diagnostic_only_typeck
fatally_break_rust
infer_type_if_missing
inspect_typeck
provide
report_unexpected_variant_res
typeck
typeck_with_fallback
used_trait_imports
rustc_hir_typeck
Module
intrinsicck
Copy item path
Settings
Help
Summary
Source
Functions
§
unpack_
option_
like
🔒
If the type is
Option<T>
, it will return
T
, otherwise the type itself. Works on most
Option
-like types.