mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 03:36:21 +00:00

Migrate lint reports in typeck::check_unused to LintDiagnostic In this PR, I migrate two lint reports in `typeck::check_unused` by `LintDiagnostic`, all of which is about extern crates. ```@rustbot``` label +A-translation r? rust-lang/diagnostics
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.