Skip to main content

MISSING_GENERIC_TYPE_VISITABLE_DERIVE

Static MISSING_GENERIC_TYPE_VISITABLE_DERIVE 

Source
pub(crate) static MISSING_GENERIC_TYPE_VISITABLE_DERIVE: &Lint
Expand description

The missing_generic_type_visitable_derive lint detects types implementing TypeVisitable but not deriving GenericTypeVisitable.

GenericTypeVisitable is the analog of TypeVisitable used by rust-analyzer, and needs to be implemented whenever TypeVisitable is. See [rustc_type_ir::generic_visit] for more information.