Closed
Description
Rustc has introduced diagnostic items to avoid using hard-coded paths to check for std
and core
types. However, there seems to be a lack of documentation regarding them. Here is a rough overview of what should be documented:
- How to find the diagnostic item for type XYZ
- How to add a new diagnostic item
- Define diagnostic item naming conventions.
- How to use diagnostic items
See rust-lang/rust-clippy#5393 for more context and related discussions/links etc.
Metadata
Metadata
Assignees
Labels
No labels