about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2023-02-04don't point at nonexisting code beyond EOF when warning about unused delimsMatthias Krüger-0/+4
2023-02-03Rollup merge of #107539 - PossiblyAShrub:unused-parens-in-index, r=lcnrDylan DPC-0/+4
2023-02-04Fix #103320, add explanatory message for [#must_use]yukang-2/+34
2023-02-02Emit warnings on unused parens/braces in index expressionsAidan Olsen-0/+4
2023-02-01Auto merge of #107536 - GuillaumeGomez:rollup-xv7dx2h, r=GuillaumeGomezbors-19/+20
2023-01-31Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obkGuillaume Gomez-19/+20
2023-01-31make unaligned_reference a hard errorRalf Jung-1/+10
2023-01-31Review changesMaybe Waffle-1/+1
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-20/+21
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+3
2023-01-29Auto merge of #106253 - nbdd0121:upcast, r=compiler-errorsbors-0/+70
2023-01-28Auto merge of #107206 - cjgillot:no-h2l-map, r=WaffleLapkinbors-51/+49
2023-01-28Reintroduce multiple_supertrait_upcastable lintGary Guo-0/+70
2023-01-28Auto merge of #106916 - lukas-code:overlapping-substs, r=estebankbors-7/+30
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-26/+23
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-26/+27
2023-01-27Introduce GeneratorWitnessMIR.Camille GILLOT-0/+1
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-1/+1
2023-01-26replace usages of fn_sig query with bound_fn_sigKyle Matsuda-1/+1
2023-01-23fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo-2/+3
2023-01-21Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillotMichael Goulet-21/+26
2023-01-20Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnrbors-8/+10
2023-01-20fix overlapping spans for `explicit_outlives_requirements` in macrosLukas Markeffsky-7/+30
2023-01-17Stop using `BREAK` & `CONTINUE` in compilerScott McMurray-1/+1
2023-01-17Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger-3/+3
2023-01-17Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnrDylan DPC-24/+61
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-3/+3
2023-01-16comments feedbackyukang-24/+28
2023-01-16fix #104440Takayuki Maeda-21/+26
2023-01-15Rollup merge of #106906 - matthiaskrgr:clone, r=NilstriebMatthias Krüger-3/+3
2023-01-15remove redundant clonesMatthias Krüger-3/+3
2023-01-15Fix regression in `unused_braces` with macrosclubby789-4/+8
2023-01-14Fix `unused_braces` on generic const expr macro callclubby789-0/+1
2023-01-14fix issues in unused lintyukang-18/+46
2023-01-14fix #105061, Fix unused_parens issue for higher ranked function pointersyukang-1/+6
2023-01-13Check ADT fields for copy implementations considering regionsMichael Goulet-8/+10
2023-01-13Auto merge of #106776 - oli-obk:om_nom_nom_nom_nom, r=cjgillotbors-1/+1
2023-01-13Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwcobors-1372/+2236
2023-01-12Feed the `features_query` instead of grabbing it from the session lazilyOli Scherer-1/+1
2023-01-12Mark ZST as FFI-safe if all its fields are PhantomDataArthur Carcano-23/+23
2023-01-11Auto merge of #105919 - uweigand:s390x-stack-overflow, r=Nilstriebbors-1/+2
2023-01-09refactor: cleanupRejyr-49/+3
2023-01-09migrate: `deref_into_dyn_supertrait.rs`Rejyr-18/+30
2023-01-09add: allow lints in `lints.rs`Rejyr-0/+2
2023-01-09migrate: rest of `builtin.rs` without `builtin_asm_labels`Rejyr-183/+353
2023-01-09migrate: `UnsafeCode` in `builtin.rs`Rejyr-83/+63
2023-01-09migrate: `hidden_unicode_codepoints.rs`Rejyr-50/+107
2023-01-09add: `#[rustc_lint_diagnostics]` for more `context.rs` functions.Rejyr-0/+5
2023-01-09refactor: refactor to derive for some lints.Rejyr-139/+96
2023-01-09migrate: `for_loops_over_fallibles.rs`Rejyr-46/+78