mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-07 00:16:16 +00:00
This commit removes the allows rules for the SessionDiagnostic lint that were being used in the session.rs file. Thanks to the PR #101230 we do not need to annotate the methods with the allow rule as they are part of the diagnostic machinery.
For more information about how rustc works, see the rustc dev guide.