summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2021-09-02Rollup merge of #88512 - m-ou-se:array-into-iter-deref-stuff, r=estebankMara Bos-24/+30
2021-09-01Auto merge of #87688 - camsteffen:let-else, r=cjgillotbors-15/+28
2021-08-31Rollup merge of #88503 - m-ou-se:array-into-inter-ambiguous, r=cjgillotMara Bos-0/+2
2021-08-30Handle let-else initializer edge case errorsCameron Steffen-15/+28
2021-08-30Add let-else to ASTCameron Steffen-1/+1
2021-08-30Don't give invalid suggestions in array_into_iter.Mara Bos-1/+1
2021-08-30Upgrade array_into_iter lint to include Deref-to-array types.Mara Bos-23/+29
2021-08-30Warn when [T; N].into_iter() is ambiguous in the new edition.Mara Bos-0/+2
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-1/+1
2021-08-29Auto merge of #88337 - eddyb:field-failure-is-not-an-option, r=nagisabors-2/+23
2021-08-28Treat macros as HIR itemsinquisitivecrystal-25/+1
2021-08-27rustc_target: require `TyAbiInterface` in `LayoutOf`.Eduard-Mihai Burtescu-1/+22
2021-08-27rustc_target: add lifetime parameter to `LayoutOf`.Eduard-Mihai Burtescu-1/+1
2021-08-26reviewlcnr-1/+1
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-2/+2
2021-08-26add `tcx` to `fn walk`lcnr-2/+2
2021-08-26make unevaluated const substs optionallcnr-2/+2
2021-08-26require a `tcx` for `TypeVisitor`lcnr-0/+3
2021-08-25Rollup merge of #88196 - asquared31415:named-asm-labels-refactor, r=AmanieuLéo Lanteri Thauvin-2/+123
2021-08-25Auto merge of #88242 - bonega:allocation_range, r=oli-obkbors-1/+1
2021-08-24Move `named_asm_labels` to a HIR lintasquared31415-2/+123
2021-08-24Auto merge of #87739 - Aaron1011:remove-used-attrs, r=wesleywiserbors-81/+13
2021-08-23Rollup merge of #88230 - steffahn:a_an, r=oli-obkMara Bos-2/+2
2021-08-22Use custom wrap-around type instead of RangeAndreas Liljeqvist-1/+1
2021-08-22Rollup merge of #86747 - FabianWolff:issue-86653, r=GuillaumeGomezGuillaume Gomez-16/+20
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-81/+13
2021-08-21Auto merge of #88134 - rylev:force-warn-improvements, r=nikomatsakisbors-1/+10
2021-08-19introduce a Coerce predicateNiko Matsakis-0/+1
2021-08-18Error when warnings lint group is used with force-warnRyan Levick-1/+10
2021-08-18Remove box syntax from rustc_lintest31-6/+5
2021-08-17Auto merge of #88083 - m-ou-se:non-fmt-panics-suggest-debug, r=estebankbors-13/+53
2021-08-16Rollup merge of #87967 - m-ou-se:non-fmt-panic-detect-fake-spans, r=cjgillotMara Bos-3/+11
2021-08-16Show correct macro name in non_fmt_panics message.Mara Bos-1/+1
2021-08-16Improve non_fmt_panics suggestion based on trait impls.Mara Bos-12/+52
2021-08-16Auto merge of #84039 - jyn514:uplift-atomic-ordering, r=wesleywiserbors-3/+239
2021-08-16Only run expensive calculations if the method name is recognizedJoshua Nelson-2/+4
2021-08-16Uplift the `invalid_atomic_ordering` lint from clippy to rustcThom Chiovoloni-3/+237
2021-08-16Auto merge of #80357 - c410-f3r:new-hir-let, r=matthewjasperbors-5/+7
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-5/+7
2021-08-15Auto merge of #87982 - m-ou-se:non-fmt-panic-assert-str, r=cjgillotbors-2/+15
2021-08-14Auto merge of #87324 - asquared31415:named-asm-labels, r=Amanieubors-0/+4
2021-08-14Auto merge of #87375 - fee1-dead:move-constness-to-traitpred, r=oli-obkbors-2/+2
2021-08-13Auto merge of #86492 - hyd-dev:no-mangle-method, r=petrochenkovbors-24/+70
2021-08-13Use is_diagnostic_item instead of get_diagnostic_item.Mara Bos-3/+3
2021-08-13non_fmt_panic: machine app. suggestion for assert with string msg.Mara Bos-2/+15
2021-08-13move Constness into TraitPredicateDeadbeef-2/+2
2021-08-12Rollup merge of #87965 - m-ou-se:non-fmt-panic-external, r=estebankManish Goregaokar-2/+13
2021-08-12Detect fake spans in non_fmt_panic lint.Mara Bos-3/+11