pub fn match_primitive_type<'tcx>( tcx: TyCtxt<'tcx>, type_ident: String, ) -> Option<Ty<'tcx>>
Match a string against Rust’s primitive types, returning the corresponding Ty from the type context.
Ty