Enum rustc_trans::middle::ty::type_err
[−]
[src]
pub enum type_err<'tcx> {
terr_mismatch,
terr_unsafety_mismatch(expected_found<Unsafety>),
terr_abi_mismatch(expected_found<Abi>),
terr_mutability,
terr_box_mutability,
terr_ptr_mutability,
terr_ref_mutability,
terr_vec_mutability,
terr_tuple_size(expected_found<usize>),
terr_fixed_array_size(expected_found<usize>),
terr_ty_param_size(expected_found<usize>),
terr_arg_count,
terr_regions_does_not_outlive(Region, Region),
terr_regions_not_same(Region, Region),
terr_regions_no_overlap(Region, Region),
terr_regions_insufficiently_polymorphic(BoundRegion, Region),
terr_regions_overly_polymorphic(BoundRegion, Region),
terr_sorts(expected_found<&'tcx TyS<'tcx>>),
terr_integer_as_char,
terr_int_mismatch(expected_found<IntVarValue>),
terr_float_mismatch(expected_found<FloatTy>),
terr_traits(expected_found<DefId>),
terr_builtin_bounds(expected_found<EnumSet<BuiltinBound>>),
terr_variadic_mismatch(expected_found<bool>),
terr_cyclic_ty,
terr_convergence_mismatch(expected_found<bool>),
terr_projection_name_mismatched(expected_found<Name>),
terr_projection_bounds_length(expected_found<usize>),
}Unstable
Variants
terr_mismatch | Unstable |
terr_unsafety_mismatch | Unstable |
terr_abi_mismatch | Unstable |
terr_mutability | Unstable |
terr_box_mutability | Unstable |
terr_ptr_mutability | Unstable |
terr_ref_mutability | Unstable |
terr_vec_mutability | Unstable |
terr_tuple_size | Unstable |
terr_fixed_array_size | Unstable |
terr_ty_param_size | Unstable |
terr_arg_count | Unstable |
terr_regions_does_not_outlive | Unstable |
terr_regions_not_same | Unstable |
terr_regions_no_overlap | Unstable |
terr_regions_insufficiently_polymorphic | Unstable |
terr_regions_overly_polymorphic | Unstable |
terr_sorts | Unstable |
terr_integer_as_char | Unstable |
terr_int_mismatch | Unstable |
terr_float_mismatch | Unstable |
terr_traits | Unstable |
terr_builtin_bounds | Unstable |
terr_variadic_mismatch | Unstable |
terr_cyclic_ty | Unstable |
terr_convergence_mismatch | Unstable |
terr_projection_name_mismatched | Unstable |
terr_projection_bounds_length | Unstable |