Skip to content

Migrate rustc_lint lint diagnostics#101138

Merged
bors merged 33 commits intorust-lang:masterfrom
Rejyr:diagnostic-migration-rustc-lint-pt2
Jan 13, 2023
Merged

Migrate rustc_lint lint diagnostics#101138
bors merged 33 commits intorust-lang:masterfrom
Rejyr:diagnostic-migration-rustc-lint-pt2

Conversation

@Rejyr
Copy link
Copy Markdown
Contributor

@Rejyr Rejyr commented Aug 28, 2022

Part 2 of Migrate rustc_lint errors to SessionDiagnostic

r? @davidtwco

TODO

  • Refactor some lints manually implementing DecorateLint to use Option<Subdiagnostic>.
  • Add #[rustc_lint_diagnostics] to lint functions in context.rs.
  • Migrate hidden_unicode_codepoints.rs.
  • Migrate UnsafeCode in builtin.rs.
  • Migrate the rest of builtin.rs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-diagnostics Area: Messages for errors, warnings, and lints A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants