Skip to main content
should_encode_type
rustc_
metadata
1.96.0-beta.5
(a5a9a5438 2026-05-01)
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