[−][src]Module rustc_lint::types
Structs
| ImproperCTypesDeclarations | |
| ImproperCTypesDefinitions | |
| ImproperCTypesVisitor | |
| TypeLimits | |
| VariantSizeDifferences |
Enums
| CItemKind | |
| FfiResult |
Statics
| IMPROPER_CTYPES | The |
| IMPROPER_CTYPES_DEFINITIONS | The |
| OVERFLOWING_LITERALS | The |
| UNUSED_COMPARISONS | The |
| VARIANT_SIZE_DIFFERENCES | The |
Functions
| get_bin_hex_repr | |
| get_nullable_type | Given a non-null scalar (or transparent) type |
| get_type_suggestion | |
| int_ty_range | |
| lint_int_literal | |
| lint_literal | |
| lint_overflowing_range_endpoint | Attempts to special-case the overflowing literal lint when it occurs as a range endpoint.
Returns |
| lint_uint_literal | |
| nonnull_optimization_guaranteed | |
| report_bin_hex_error | |
| repr_nullable_ptr | Check if this enum can be safely exported based on the "nullable pointer optimization". If it
can, return the type that |
| transparent_newtype_field |
|
| ty_is_known_nonnull | Is type known to be non-null? |
| uint_ty_range |