about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2022-09-12Plumb dyn trait representation through ty::DynamicEric Holk-1/+1
2022-09-12Allow tool-lints to specify a feature-gate tooWim Looman-2/+4
2022-09-12Remove unused argument from `check_mac_def`.Nicholas Nethercote-3/+3
2022-09-12Remove unused argument from `visit_poly_trait_ref`.Nicholas Nethercote-8/+4
2022-09-12Remove unused span argument from `check_mod` and `process_mod`.Nicholas Nethercote-14/+8
2022-09-12Remove unused span argument from `walk_fn`.Nicholas Nethercote-2/+2
2022-09-12Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote-3/+3
2022-09-11Avoid `Iterator::last`KaDiWa-2/+2
2022-09-08Rollup merge of #101501 - Jarcho:tcx_lint_passes, r=davidtwcoDylan DPC-31/+57
2022-09-06Allow lint passes to be bound by `TyCtxt`Jason Newcomb-31/+57
2022-09-06Rollup merge of #101434 - JhonnyBillM:replace-session-for-handler-in-into-dia...Guillaume Gomez-4/+4
2022-09-06Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillotbors-13/+6
2022-09-05Auto merge of #101261 - TaKO8Ki:separate-receiver-from-arguments-in-hir, r=cj...bors-20/+20
2022-09-05Auto merge of #101228 - nnethercote:simplify-hir-PathSegment, r=petrochenkovbors-2/+1
2022-09-05refactor: remove unnecessary variablesTakayuki Maeda-6/+3
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-19/+22
2022-09-05UPDATE - into_diagnostic to take a Handler instead of a ParseSessJhonny Bill Mena-4/+4
2022-09-05Make `hir::PathSegment::res` non-optional.Nicholas Nethercote-2/+1
2022-09-03more clippy::perf fixesMatthias Krüger-1/+1
2022-09-03Auto merge of #100574 - Urgau:check-cfg-warn-cfg, r=petrochenkovbors-0/+37
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-13/+6
2022-09-02Add warning against unexpected --cfg with --check-cfgUrgau-0/+37
2022-09-02Rollup merge of #97739 - a2aaron:let_underscore, r=estebankGuillaume Gomez-0/+180
2022-09-01Rollup merge of #94467 - ibraheemdev:master, r=pnkfelixMatthias Krüger-0/+79
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-9/+4
2022-09-01Auto merge of #100707 - dzvon:fix-typo, r=davidtwcobors-3/+3
2022-08-31lint: avoid linting diag functions with diag lintsDavid Wood-3/+9
2022-08-31Fix a bunch of typoDezhi Wu-3/+3
2022-08-30Auto merge of #98919 - 5225225:stricter-invalid-value, r=RalfJungbors-0/+9
2022-08-30Auto merge of #100812 - Nilstrieb:revert-let-chains-nightly, r=Mark-Simulacrumbors-0/+1
2022-08-29Auto merge of #101167 - matthiaskrgr:rollup-yt3jdmp, r=matthiaskrgrbors-3/+2
2022-08-29Revert let_chains stabilizationNilstrieb-0/+1
2022-08-29Remove `Sync` requirement from lint pass objects as they are created on demandJason Newcomb-3/+2
2022-08-29Rollup merge of #99821 - cjgillot:ast-lifetimes-2, r=compiler-errorsDylan DPC-6/+13
2022-08-26Rollup merge of #100776 - Rejyr:diagnostic-migration-rustc-lint, r=davidtwcoMichael Goulet-124/+263
2022-08-26Make invalid-value trigger on uninit primitives5225225-0/+9
2022-08-24Rollup merge of #100826 - vincenzopalazzo:macros/wrong_sugg_with_positional_a...Matthias Krüger-2/+7
2022-08-23sugg: take into count the debug formattingVincenzo Palazzo-2/+7
2022-08-23cleanup: commented lintsRejyr-11/+0
2022-08-22refactor: migrate to kind-less `SessionDiagnostic` derivesRejyr-8/+8
2022-08-22migrate: `rustc_lint::context`Rejyr-59/+119
2022-08-22rename: `UnknownTool` to `UnknownToolInScopedLint`Rejyr-4/+4
2022-08-22migrate: `BuiltinEllipsisInclusiveRangePatterns`Rejyr-23/+23
2022-08-22migrate: `OverruledAttribute`Rejyr-12/+65
2022-08-22hotfix: add missing importRejyr-1/+1
2022-08-22change: diagnostic `String` field to `Symbol`Rejyr-3/+2
2022-08-22migrate: `bad_attr` to `SessionDiagnostic`Rejyr-18/+45
2022-08-22migrate: `UnknownTool` error to `SessionDiagnostic`Rejyr-16/+27
2022-08-22Use DiagnosticMessage for BufferedEarlyLint.msgfinalchild-1/+1
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-1/+1