Function rustc::middle::typeck::astconv::ast_ty_to_builtin_tyExperimental [-]  [+] [src]

pub fn ast_ty_to_builtin_ty<'tcx, AC: AstConv<'tcx>, RS: RegionScope>(this: &AC, rscope: &RS, ast_ty: &Ty) -> Option<Ty<'tcx>>

Converts the given AST type to a built-in type. A "built-in type" is, at present, either a core numeric type, a string, or Box.