rustc_
metadata
1.84.0-nightly
(b8c8287a2 2024-11-03)
In rustc_
metadata::
rmeta::
encoder
rustc_metadata
::
rmeta
::
encoder
Function
should_encode_type
Copy item path
Source
fn should_encode_type( tcx:
TyCtxt
<'_>, def_id:
LocalDefId
, def_kind:
DefKind
, ) ->
bool