[][src]Module rustc_ap_rustc_session::lint::builtin

Some lints that are built in to the compiler.

These are the built-in lints that are emitted direct in the main compiler code, rather than using their own custom pass. Those lints are all available in rustc_lint::builtin.

Structs

HardwiredLints

Does nothing as a lint pass, but registers some Lints that are used by other parts of the compiler.

UnusedDocComment

Statics

ABSOLUTE_PATHS_NOT_STARTING_WITH_CRATE
AMBIGUOUS_ASSOCIATED_ITEMS
ARITHMETIC_OVERFLOW
ASM_SUB_REGISTER
BARE_TRAIT_OBJECTS
BINDINGS_WITH_VARIANT_NAME
BROKEN_INTRA_DOC_LINKS
CENUM_IMPL_DROP_CAST
COHERENCE_LEAK_CHECK
CONFLICTING_REPR_HINTS
CONST_ERR
DEAD_CODE
DEPRECATED
DEPRECATED_IN_FUTURE
ELIDED_LIFETIMES_IN_PATHS
EXPLICIT_OUTLIVES_REQUIREMENTS
EXPORTED_PRIVATE_DEPENDENCIES
ILLEGAL_FLOATING_POINT_LITERAL_PATTERN
ILL_FORMED_ATTRIBUTE_INPUT
INCOMPLETE_INCLUDE
INDIRECT_STRUCTURAL_MATCH
INLINE_NO_SANITIZE
INVALID_CODEBLOCK_ATTRIBUTES
INVALID_TYPE_PARAM_DEFAULT
IRREFUTABLE_LET_PATTERNS
LATE_BOUND_LIFETIME_ARGUMENTS
MACRO_EXPANDED_MACRO_EXPORTS_ACCESSED_BY_ABSOLUTE_PATHS
MACRO_USE_EXTERN_CRATE
META_VARIABLE_MISUSE
MISSING_CRATE_LEVEL_DOCS
MISSING_DOC_CODE_EXAMPLES
MUTABLE_BORROW_RESERVATION_CONFLICT
ORDER_DEPENDENT_TRAIT_OBJECTS
OVERLAPPING_PATTERNS
PATTERNS_IN_FNS_WITHOUT_BODY
PRIVATE_DOC_TESTS
PRIVATE_IN_PUBLIC
PROC_MACRO_DERIVE_RESOLUTION_FALLBACK
PUB_USE_OF_PRIVATE_EXTERN_CRATE
RENAMED_AND_REMOVED_LINTS
SAFE_PACKED_BORROWS
SINGLE_USE_LIFETIMES
SOFT_UNSTABLE
STABLE_FEATURES
TRIVIAL_CASTS
TRIVIAL_NUMERIC_CASTS
TYVAR_BEHIND_RAW_POINTER
UNALIGNED_REFERENCES
UNCONDITIONAL_PANIC
UNCONDITIONAL_RECURSION
UNKNOWN_CRATE_TYPES
UNKNOWN_LINTS
UNREACHABLE_CODE
UNREACHABLE_PATTERNS
UNSAFE_OP_IN_UNSAFE_FN
UNSTABLE_NAME_COLLISIONS
UNUSED_ASSIGNMENTS
UNUSED_ATTRIBUTES
UNUSED_CRATE_DEPENDENCIES
UNUSED_DOC_COMMENTS
UNUSED_EXTERN_CRATES
UNUSED_FEATURES
UNUSED_IMPORTS
UNUSED_LABELS
UNUSED_LIFETIMES
UNUSED_MACROS
UNUSED_MUT
UNUSED_QUALIFICATIONS
UNUSED_UNSAFE
UNUSED_VARIABLES
WARNINGS
WHERE_CLAUSES_OBJECT_SAFETY