Searched refs:is_trivially_sized (Results 1 – 3 of 3) sorted by relevance
21 if trait_ref.self_ty().is_trivially_sized(tcx) { in try_fast_path()
2221 pub fn is_trivially_sized(&self, tcx: TyCtxt<'tcx>) -> bool { in is_trivially_sized() method2242 ty::Tuple(tys) => tys.iter().all(|ty| ty.expect_ty().is_trivially_sized(tcx)), in is_trivially_sized()
681 self.is_trivially_sized(tcx_at.tcx) || tcx_at.is_sized_raw(param_env.and(self)) in is_sized()