about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/levels.rs
AgeCommit message (Expand)AuthorLines
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
2021-07-17Make `--force-warns` a normal lint level optioninquisitivecrystal-19/+5
2021-07-08Rollup merge of #86639 - eholk:lint-tool, r=petrochenkovYuki Okushi-30/+34
2021-07-07Cleanup: unify lint name checkingEric Holk-3/+4
2021-07-06Unify lint tool and lint name checkingEric Holk-29/+32
2021-06-29Encode CommandLine in the index only.Camille GILLOT-2/+2
2021-06-29Use a newtype_index instead of a u32.Camille GILLOT-8/+8
2021-06-26Make ForceWarn a lint level.Camille GILLOT-15/+16
2021-06-02Force warn on lint groups as wellRyan Levick-3/+8
2021-06-01Fix issues and add testRyan Levick-1/+1
2021-05-28Initial support for force-warnsRyan Levick-0/+9
2021-05-12Use () for lint_levels.Camille GILLOT-5/+3
2021-04-17Do not ignore path segments in the middle in `#[allow]`/`#[warn]`/`#[deny]`/`...hyd-dev-43/+38
2021-04-05Fix bug where rustc_lint would not apply renamed tool lintsJoshua Nelson-3/+4
2021-03-27Remove (lots of) dead codeJoshua Nelson-4/+0
2021-03-18Rollup merge of #83216 - jyn514:register-tool, r=petrochenkovDylan DPC-9/+37
2021-03-16Allow registering tool lints with `register_tool`Joshua Nelson-9/+37
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-2/+2
2021-03-09Remove hir::Crate::attrs.Camille GILLOT-1/+1
2021-03-09Access attrs directly from HirId in rustc_lint::levels.Camille GILLOT-11/+12