about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2022-01-22Rollup merge of #93153 - tmiasko:reject-unsupported-naked-functions, r=AmanieuMatthias Krüger-0/+5
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-6/+6
2022-01-21Reject unsupported naked functionsTomasz Miąsko-0/+5
2022-01-20Rollup merge of #92704 - 5225225:std_mem_transmute_ref_t_mut_t, r=michaelwoer...Matthias Krüger-3/+3
2022-01-19Add links to the reference and rust by example for asm! docs and lintsAmanieu d'Antras-0/+4
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-14/+8
2022-01-16Rollup merge of #92646 - mdibaiee:76935/pass-by-value, r=lcnrMatthias Krüger-33/+100
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-8/+5
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-3/+2
2022-01-15Return a LocalDefId in get_parent_item.Camille GILLOT-1/+1
2022-01-15initial revertEllen-8/+5
2022-01-11rustc_pass_by_value: handle inferred generic types (with _)Mahdi Dibaiee-9/+5
2022-01-11rustc_pass_by_value: handle generic and const type parametersMahdi Dibaiee-14/+19
2022-01-11rustc_pass_by_value: allow types with no parameters on selfMahdi Dibaiee-13/+5
2022-01-10rustc_pass_by_value remove dependency on rustc_diagnostic_itemMahdi Dibaiee-7/+4
2022-01-10rustc_pass_by_value lint: add test on custom typesMahdi Dibaiee-0/+1
2022-01-09Make message for &T -> &mut T transmute more accurate5225225-3/+3
2022-01-09Compute most of Public/Exported access level in rustc_resolveLamb-1/+2
2022-01-09feat: pass_by_value lint attributeMahdi Dibaiee-33/+109
2021-12-21Rollup merge of #91770 - TaKO8Ki:suggest-adding-cfg-test, r=joshtriplettMatthias Krüger-1/+9
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-20/+19
2021-12-19Rollup merge of #91956 - notriddle:notriddle/unused-parens-range, r=nagisaMatthias Krüger-1/+4
2021-12-18Rollup merge of #92032 - petrochenkov:extblockpath, r=oli-obkMatthias Krüger-2/+2
2021-12-18hir: Do not introduce dummy type names for `extern` blocks in def pathsVadim Petrochenkov-2/+2
2021-12-18Rollup merge of #91818 - camelid:unused-result-type, r=jackh726Matthias Krüger-1/+3
2021-12-18Rollup merge of #89090 - cjgillot:bare-dyn, r=jackh726Matthias Krüger-10/+0
2021-12-17fix(rustc_lint): mark the parens around `(1..loop {})` as unusedMichael Howell-1/+1
2021-12-16suggest adding a `#[cfg(test)]` to test modulesTakayuki Maeda-1/+9
2021-12-15fix(rustc_lint): better detect when parens are necessaryMichael Howell-1/+4
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-14/+13
2021-12-15Remove `SymbolStr`.Nicholas Nethercote-6/+6
2021-12-15Rollup merge of #91881 - Patrick-Poitras:stabilize-iter-zip, r=scottmcmMatthias Krüger-1/+0
2021-12-15Rollup merge of #90939 - estebank:wg-af-polish, r=tmandryMatthias Krüger-1/+1
2021-12-14Stabilize iter::zip.PFPoitras-1/+0
2021-12-13Keep info on pre-desugaring expression for better "incorrect `.await`" sugges...Esteban Kuber-1/+1
2021-12-12Address review feedbackAmanieu d'Antras-1/+0
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-5/+3
2021-12-11Show the unused type for `unused_results` lintNoah Lev-1/+3
2021-12-11Remove useless variant.Camille GILLOT-20/+1
2021-12-09Remove redundant [..]sest31-1/+1
2021-12-04Lint bare traits in AstConv.Camille GILLOT-10/+0
2021-12-03Use let_else in some more places in rustc_lintest31-69/+52
2021-12-02Rollup merge of #91394 - Mark-Simulacrum:bump-stage0, r=pietroalbiniMatthias Krüger-1/+0
2021-12-01Auto merge of #91255 - b-naber:normalization-ice, r=jackh276bors-1/+3
2021-12-01implement version of normalize_erasing_regions that doesn't assume value is n...b-naber-1/+3
2021-12-01Rollup merge of #90985 - camsteffen:diag-name-usage, r=jackh726Matthias Krüger-48/+52
2021-11-30Emit a warning on generic parameters with doc commentsJoshua Nelson-0/+4
2021-11-30Apply cfg-bootstrap switchMark Rousskov-1/+0
2021-11-28Take a LocalDefId in expect_*item.Camille GILLOT-1/+1
2021-11-16Use get_diagnostic_name moreCameron Steffen-48/+52