about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2021-08-12Silence non_fmt_panic from external macros.Mara Bos-2/+13
2021-08-12Adjust `#[no_mangle]`-related checks and lints for `impl` itemshyd-dev-24/+70
2021-08-09Link to edition guide instead of issues for 2021 lints.Mara Bos-2/+2
2021-08-06Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Si...bors-2/+0
2021-08-04Fix lint capitalization and ignoring, test with include_strasquared31415-1/+1
2021-08-04Lint against named asm labelsasquared31415-0/+4
2021-08-04Auto merge of #87026 - FabianWolff:issue-86948, r=estebankbors-0/+8
2021-08-04Auto merge of #87568 - petrochenkov:localevel, r=cjgillotbors-21/+23
2021-08-03Use a multipart suggestion for the parenthesesFabian Wolff-3/+6
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-2/+2
2021-07-31Require parentheses to avoid confusions around labeled break and loop express...Fabian Wolff-0/+5
2021-07-31rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tablesVadim Petrochenkov-21/+23
2021-07-31Fix ICE in `improper_ctypes_definitions` lint with all-ZST transparent typesFabian Wolff-2/+8
2021-07-31Apply review suggestionYuki Okushi-10/+7
2021-07-31Add a hint that the expressions produce a valueYuki Okushi-1/+12
2021-07-27Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnrbors-0/+6