Module literal
rustc_
lint
1.84.0-dev
Module literal
Module Items
Functions
In rustc_
lint::
types
Modules
improper_ctypes
literal
Structs
CTypesVisitorState
ImproperCTypesDeclarations
ImproperCTypesDefinitions
ImproperCTypesVisitor
InvalidAtomicOrdering
TypeLimits
VariantSizeDifferences
Enums
CItemKind
ComparisonOp
FfiResult
Statics
AMBIGUOUS_WIDE_POINTER_COMPARISONS
IMPROPER_CTYPES
IMPROPER_CTYPES_DEFINITIONS
INVALID_ATOMIC_ORDERING
INVALID_NAN_COMPARISONS
OVERFLOWING_LITERALS
UNUSED_COMPARISONS
VARIANT_SIZE_DIFFERENCES
Functions
get_nullable_type
is_niche_optimization_candidate
lint_nan
lint_wide_pointer
nonnull_optimization_guaranteed
repr_nullable_ptr
transparent_newtype_field
ty_is_known_nonnull
rustc_lint
::
types
Module
literal
Copy item path
Settings
Help
Summary
Source
Functions
§
get_
bin_
hex_
repr
🔒
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 (
expr..MAX+1
). Returns
true
iff the lint was emitted.
lint_
uint_
literal
🔒
report_
bin_
hex_
error
🔒
uint_
ty_
range
🔒