mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-04 06:56:14 +00:00
* inline `LintBuffer::add_lint`, it only had a single use
* update a lint infra example code snippet
* it used the wrong API (the snippet isn't tested)
* presumably the arguments were updated from builder to diag struct style
at some point without updating the method