about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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-99/+88
2022-02-26Document that pre-expansion lint passes are deprecatedxFrednet-1/+6
2022-02-25Initiate the inner usage of `let_chains`Caio-99/+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
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-27/+32
2022-02-24Rollup merge of #94175 - Urgau:check-cfg-improvements, r=petrochenkovDylan DPC-1/+35
2022-02-24better ObligationCause for normalization errors in can_type_implement_copyMichael Goulet-2/+9
2022-02-23Continue improvements on the --check-cfg implementationLoïc BRANSTETT-12/+13
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-21/+26
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-6/+6
2022-02-22Improve diagnostic of the unexpected_cfgs lintLoïc BRANSTETT-1/+34
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-3/+3
2022-02-20Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obkbors-7/+7
2022-02-19Adopt let else in more placesest31-22/+8
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-7/+7
2022-02-15Overhaul `Const`.Nicholas Nethercote-2/+2
2022-02-15Overhaul `RegionKind` and `Region`.Nicholas Nethercote-3/+3