about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2022-04-19Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwcoDylan DPC-27/+1
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-1/+22
2022-04-17Visit generics inside visit_fn.Camille GILLOT-1/+2
2022-04-15Remove `--extern-location` and all associated codeJeremy Fitzhardinge-27/+1
2022-04-05Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardinbors-6/+10
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-6/+10
2022-04-05errors: implement fallback diagnostic translationDavid Wood-4/+4
2022-04-05span: move `MultiSpan`David Wood-8/+8
2022-04-01invalid_value lint: detect invalid initialization of arraysRalf Jung-7/+16
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-4/+0
2022-03-16rustc_error: make ErrorReported impossible to constructmark-38/+48
2022-03-15Rollup merge of #94947 - Dylan-DPC:fix/typos, r=oli-obkMatthias Krüger-9/+9
2022-03-15fix typosDylan DPC-9/+9
2022-03-14Rollup merge of #94670 - xFrednet:rfc-2383-expect-impl-after-party, r=flip199...Matthias Krüger-12/+33
2022-03-12Auto merge of #94733 - nnethercote:fix-AdtDef-interning, r=fee1-deadbors-43/+46
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-43/+46
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-08Rollup merge of #94586 - sunfishcode:sunfishcode/io-lifetimes-tests, r=davidtwcoMatthias Krüger-1/+3
2022-03-08Rollup merge of #94580 - xFrednet:55112-only-reason-in-lint-attr, r=lcnrMatthias Krüger-3/+1
2022-03-07Handle `#[expect(unfulfilled_lint_expectations)]` with a lint messagexFrednet-12/+31
2022-03-07Clarify `Layout` interning.Nicholas Nethercote-3/+3
2022-03-05Review changesJack Huey-4/+6
2022-03-05Change to lintJack Huey-0/+8
2022-03-05Improve unexpected_cfgs lint when their is no value expectedLoïc BRANSTETT-20/+26
2022-03-03Generalize `get_nullable_type` to allow types where null is all-ones.Dan Gohman-1/+3
2022-03-03Emit `unused_attributes` if a level attr only has a reasonxFrednet-3/+1
2022-03-03Auto merge of #87835 - xFrednet:rfc-2383-expect-attribute-with-ids, r=wesleyw...bors-15/+138
2022-03-02Use Vec for expectations to have a constant order (RFC-2383)xFrednet-8/+6
2022-03-02Extend unused_doc_comments lint to check on blocksGuillaume Gomez-0/+10
2022-03-02Added `panics` for unreachable states for expectations (RFC 2383)xFrednet-0/+2
2022-03-02Emit `unfullfilled_lint_expectation` using a `HirId` for performance (RFC-2383)xFrednet-58/+27
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-02Add UI tests for the `expect` attribute (RFC-2383)xFrednet-4/+2
2022-03-02Make `LintExpectationId` stable between compilation sessions (RFC-2383)xFrednet-9/+48
2022-03-02Check lint expectations and emit lint if unfulfilled (RFC-2383)xFrednet-0/+52
2022-03-02Set `LintExpectationId` in level and collect fulfilled ones (RFC-2383)xFrednet-7/+31
2022-03-02Added `Expect` lint level and attribute (RFC-2383)xFrednet-0/+4
2022-02-28add `special_module_name` lintIbraheem Ahmed-0/+75
2022-02-27Rollup merge of #94397 - xFrednet:69838-deprecate-pre-expansion, r=cjgillotMatthias Krüger-1/+6
2022-02-26Auto merge of #94376 - c410-f3r:more-let-chains, r=petrochenkovbors-100/+88
2022-02-26Document that pre-expansion lint passes are deprecatedxFrednet-1/+6
2022-02-25Initiate the inner usage of `let_chains`Caio-100/+88
2022-02-25Auto merge of #94369 - matthiaskrgr:rollup-qtripm2, r=matthiaskrgrbors-6/+6
2022-02-25Switch bootstrap cfgsMark Rousskov-2/+2
2022-02-25Fix debug_assert in unused lint passflip1995-6/+6