Skip to content

Commit

Permalink
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=…
Browse files Browse the repository at this point in the history
…davidtwco

Migrate `rustc_lint` lint diagnostics

Part 2 of [Migrate `rustc_lint` errors to `SessionDiagnostic`](rust-lang/rust#100776)

r? `@davidtwco`

# TODO
- [x] Refactor some lints manually implementing `DecorateLint` to use `Option<Subdiagnostic>`.
- [x] Add `#[rustc_lint_diagnostics]` to lint functions in `context.rs`.
- [x] Migrate `hidden_unicode_codepoints.rs`.
- [x] Migrate `UnsafeCode` in `builtin.rs`.
- [x] Migrate the rest of `builtin.rs`.
  • Loading branch information
bors committed Jan 13, 2023
2 parents 2fe8a7c + 8603c94 commit accc08e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit accc08e

Please sign in to comment.