about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-16/+13
2022-02-12change to a struct variantEllen-2/+2
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-1/+0
2022-02-07Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakisbors-0/+1
2022-02-07Auto merge of #93179 - Urgau:unreachable-2021, r=m-ou-se,oli-obkbors-3/+22
2022-02-02manual formattingOli Scherer-1/+1
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-0/+1
2022-02-01Rollup merge of #93290 - lcnr:same_type, r=jackh726Matthias Krüger-1/+1
2022-02-01remove `TyS::same_type`lcnr-1/+1
2022-02-01review + rebaselcnr-3/+4
2022-02-01rustfmt is broken, manually reduce line lengthlcnr-2/+7
2022-02-01add a rustc::query_stability lintlcnr-3/+63
2022-01-31Take in account the unreachable! macro in the non_fmt_panic lintLoïc BRANSTETT-3/+22
2022-01-31Rollup merge of #90277 - pierwill:fix-70258-inference-terms, r=jackh726Matthias Krüger-1/+1
2022-01-30Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-deadMatthias Krüger-2/+1
2022-01-28Rollup merge of #92611 - Amanieu:asm-reference, r=m-ou-seMatthias Krüger-0/+4
2022-01-27Rollup merge of #93363 - lcnr:pass-by-value, r=petrochenkovMatthias Krüger-3/+3
2022-01-27Rollup merge of #93357 - nnethercote:clarify-usage-of-qualified-ty, r=lcnrMatthias Krüger-1/+1
2022-01-27try apply `rustc_pass_by_value` to `Span`lcnr-1/+1
2022-01-27update pass_by_valuelcnr-2/+2
2022-01-27Clarify the `usage-of-qualified-ty` error message.Nicholas Nethercote-1/+1
2022-01-26drive-by: use is_const and is_const_if_constMichael Goulet-2/+1
2022-01-23rustc_lint: Stop creating a fake `ast::Crate` for running early lintsVadim Petrochenkov-13/+61
2022-01-23rustc_lint: Reuse the set of registered tools from resolverVadim Petrochenkov-42/+43
2022-01-23rustc_lint: Remove some redundant fields from `EarlyContext`Vadim Petrochenkov-83/+59
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