Module clippy_utils::paths
source · Expand description
This module contains paths to types and functions Clippy needs to know about.
Whenever possible, please consider diagnostic items over hardcoded paths. See https://github.com/rust-lang/rust-clippy/issues/5393 for more information.
Constants
Preferably use the diagnostic item
sym::deref_method
where possiblePreferably use the diagnostic item
sym::Option
where possiblePreferably use the diagnostic item
sym::Result
where possible