about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/levels.rs
AgeCommit message (Expand)AuthorLines
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-23cleanup: commented lintsRejyr-3/+0
2022-08-22rename: `UnknownTool` to `UnknownToolInScopedLint`Rejyr-2/+2
2022-08-22migrate: `OverruledAttribute`Rejyr-12/+25
2022-08-22change: diagnostic `String` field to `Symbol`Rejyr-2/+1
2022-08-22migrate: `bad_attr` to `SessionDiagnostic`Rejyr-17/+25
2022-08-22migrate: `UnknownTool` error to `SessionDiagnostic`Rejyr-16/+11
2022-08-11Add visitors for PatField and ExprField.Eric Huss-34/+13
2022-08-11Honor lint level attributes in more places.Eric Huss-3/+42
2022-08-11Simplify `rustc_hir::intravisit::Visitor::visit_variant_data`.Nicholas Nethercote-7/+2
2022-07-05lint: `LintDiagnosticBuilder` into `rustc_errors`David Wood-3/+3
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-2/+2
2022-06-16Rollup merge of #97757 - xFrednet:rfc-2383-expect-with-force-warn, r=wesleywi...Matthias Krüger-6/+16
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-6/+16
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-3/+3
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-1/+9
2022-05-08Move lint expectation checking into a separate query (RFC 2383)xFrednet-7/+18
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+1
2022-03-15Rollup merge of #94947 - Dylan-DPC:fix/typos, r=oli-obkMatthias Krüger-2/+2
2022-03-15fix typosDylan DPC-2/+2
2022-03-14Rollup merge of #94670 - xFrednet:rfc-2383-expect-impl-after-party, r=flip199...Matthias Krüger-8/+28
2022-03-09Add comment about `unfulfilled_lint_expectation` not being in a group (RFC 2383)xFrednet-0/+2
2022-03-08Fix docs, fix incorrect lint source in noteDavid Koloski-2/+3
2022-03-08Switch the primary diagnostic to `unknown_lints`David Koloski-31/+36
2022-03-08Treat unstable lints as unknownDavid Koloski-35/+57
2022-03-07Handle `#[expect(unfulfilled_lint_expectations)]` with a lint messagexFrednet-8/+26
2022-03-03Emit `unused_attributes` if a level attr only has a reasonxFrednet-3/+1
2022-03-02Use Vec for expectations to have a constant order (RFC-2383)xFrednet-5/+5
2022-03-02Emit `unfullfilled_lint_expectation` using a `HirId` for performance (RFC-2383)xFrednet-45/+11
2022-03-02Reduced the size of `LintExpectationId` by 12 bytes (RFC-2383)xFrednet-2/+3
2022-03-02Expect each lint in attribute individually (RFC-2383)xFrednet-26/+62
2022-03-02Make `LintExpectationId` stable between compilation sessions (RFC-2383)xFrednet-6/+44
2022-03-02Set `LintExpectationId` in level and collect fulfilled ones (RFC-2383)xFrednet-7/+31
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-12/+13
2022-02-19Adopt let else in more placesest31-3/+3
2022-01-23rustc_lint: Stop creating a fake `ast::Crate` for running early lintsVadim Petrochenkov-1/+1
2022-01-23rustc_lint: Reuse the set of registered tools from resolverVadim Petrochenkov-23/+9
2022-01-23rustc_lint: Remove some redundant fields from `EarlyContext`Vadim Petrochenkov-15/+18
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-4/+4
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-03Use let_else in some more places in rustc_lintest31-9/+6
2021-10-08remove unwrap_or! macroklensy-2/+4
2021-09-02Rename walk_crate.Camille GILLOT-1/+1
2021-09-02Stop using walk_crate.Camille GILLOT-1/+1
2021-08-28Treat macros as HIR itemsinquisitivecrystal-3/+0
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-2/+0
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-1/+1
2021-07-25clippy::flat_map_identityMatthias Krüger-1/+1
2021-07-25Merge the BTreeMap in hir::Crate.Camille GILLOT-2/+2