Add borrow_as_ptr lint by guerinoni · Pull Request #8210 · rust-lang/rust-clippy...

 3 months ago
source link: https://github.com/rust-lang/rust-clippy/pull/8210
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is damaged, please click the button below to view the snapshot at that time.

Copy link


guerinoni commented 18 days ago


Closes: #6995

  • Followed [lint naming conventions][lint_naming]
  • Added passing UI tests (including committed .stderr file)
  • cargo test passes locally
  • Executed cargo dev update_lints
  • Added lint documentation
  • Run cargo dev fmt

changelog: new lint: [borrow_as_ptr]

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK