Skip to content

Docs: Create a page with info on how to do common things #3843

Closed
@phansch

Description

@phansch

After #3824, it would be nice to continue adding documentation. Specifically, it would be awesome to have a page that explains some common lint writing tools:

  • Retrieving the type of an expression
  • Retrieving all methods of a type
  • Checking if a type implements a specific trait
  • Dealing with macros (in_macro, in_external_macro, differing_macro_contexts)
  • Checking if a type defines a method or function

If someone wants to start this, it's also fine to just pick only one item from the list and create a new file in the doc/ directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documentationArea: Adding or improving documentationgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions