summary refs log tree commit diff
path: root/compiler/rustc_lint/src/errors.rs
AgeCommit message (Collapse)AuthorLines
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-4/+4
Suggested by the team in this Zulip Topic https://rust-lang.zulipchat.com/#narrow/stream/336883-i18n/topic/.23100717.20SessionDiagnostic.20on.20Handler Handler already has almost all the capabilities of ParseSess when it comes to diagnostic emission, in this migration we only needed to add the ability to access source_map from the emitter in order to get a Snippet and the start_point. Not sure if this is the best way to address this gap
2022-08-22refactor: migrate to kind-less `SessionDiagnostic` derivesRejyr-8/+8
2022-08-22migrate: `rustc_lint::context`Rejyr-1/+81
2022-08-22rename: `UnknownTool` to `UnknownToolInScopedLint`Rejyr-2/+2
2022-08-22migrate: `BuiltinEllipsisInclusiveRangePatterns`Rejyr-0/+10
2022-08-22migrate: `OverruledAttribute`Rejyr-0/+40
2022-08-22hotfix: add missing importRejyr-1/+1
2022-08-22change: diagnostic `String` field to `Symbol`Rejyr-1/+1
2022-08-22migrate: `bad_attr` to `SessionDiagnostic`Rejyr-1/+20
2022-08-22migrate: `UnknownTool` error to `SessionDiagnostic`Rejyr-0/+13