about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src
AgeCommit message (Expand)AuthorLines
2021-09-14Add reachable_patterns lint to rfc-2008-non_exhaustiveDevin Ragotzy-0/+54
2021-09-13error formatting and fix buildGus Wynn-9/+17
2021-09-11fix doctestsGus Wynn-2/+4
2021-09-11skip the uninhabitated check and commentsGus Wynn-1/+22
2021-09-11must_not_suspend implGus Wynn-0/+8
2021-08-27Tracking issue for UNSUPPORTED_CALLING_CONVENTIONSSimonas Kazlauskas-1/+1
2021-08-24Move `named_asm_labels` to a HIR lintasquared31415-33/+0
2021-08-24Auto merge of #87739 - Aaron1011:remove-used-attrs, r=wesleywiserbors-0/+1
2021-08-23Rollup merge of #88230 - steffahn:a_an, r=oli-obkMara Bos-1/+1
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-0/+1
2021-08-19Clarify some wording in Rust 2021 lint docsNoah Lev-9/+13
2021-08-14Auto merge of #87324 - asquared31415:named-asm-labels, r=Amanieubors-0/+34
2021-08-09Link to edition guide instead of issues for 2021 lints.Mara Bos-4/+4
2021-08-07Auto merge of #87772 - npmccallum:naked_abi, r=Amanieubors-1/+33
2021-08-07Fix naked function test run on non-x86_64Nathaniel McCallum-1/+1
2021-08-06Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Si...bors-2/+0
2021-08-04Move naked function ABI check to its own lintNathaniel McCallum-1/+33
2021-08-04Fix lint capitalization and ignoring, test with include_strasquared31415-0/+1
2021-08-04Revert accidental removal of attributesasquared31415-2/+2
2021-08-04Comment tweaksasquared31415-1/+1
2021-08-04Lint against named asm labelsasquared31415-2/+35
2021-08-04Auto merge of #87026 - FabianWolff:issue-86948, r=estebankbors-0/+31
2021-08-02Validate that naked functions are never inlinedNathaniel McCallum-0/+3
2021-07-31Require parentheses to avoid confusions around labeled break and loop express...Fabian Wolff-0/+31
2021-07-27Make `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` warn by defaultAaron Hill-1/+1
2021-07-25ignore comments in tidy-filelengthibraheemdev-2/+0
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-0/+1
2021-07-24Auto merge of #87296 - Aaron1011:inert-warn, r=petrochenkovbors-0/+1
2021-07-21Rename force-warns to force-warnRyan Levick-1/+1
2021-07-19Warn on inert attributes used on bang macro invocationAaron Hill-0/+1
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-2/+2
2021-07-11Simplify future incompatible reporting.Eric Huss-14/+5
2021-07-06rename rust_2021_token_prefixes to rust_2021_prefixes_incompatible_syntaxRyan Levick-4/+4
2021-07-06Rename future_prelude_collisions to rust_2021_prelude_collisionsRyan Levick-4/+4
2021-07-06rust_2021_token_prefixesRyan Levick-4/+4
2021-07-06Rename reserved_prefix lint to reserved_prefixesRyan Levick-4/+4
2021-07-06Add s to FUTURE_PRELUDE_COLLISIONRyan Levick-4/+4
2021-07-06Change or_patterns_back_compat lint to rust_2021_incompatible_or_patternsRyan Levick-4/+4
2021-07-06Rename disjoint_capture_migration lint to rust_2021_incompatible_closure_capt...Ryan Levick-5/+5
2021-07-06Replace per-target ABI denylist with an allowlistSimonas Kazlauskas-0/+47
2021-06-29Auto merge of #86009 - cjgillot:fwarn, r=davidtwcobors-0/+2
2021-06-29Rollup merge of #86673 - m-ou-se:disjoint-capture-edition-lint, r=nikomatsakisYuki Okushi-7/+10
2021-06-29Rollup merge of #86671 - m-ou-se:non-fmt-panic-future-incompatible, r=nikomat...Yuki Okushi-0/+6
2021-06-27Make disjoint_capture_migration an edition lint.Mara Bos-7/+10
2021-06-27Add `explain_reason: false` in future_incompatible.Mara Bos-0/+6
2021-06-27Add `explain_reason: false` in future_incompatible.Mara Bos-0/+6
2021-06-26Use FutureIncompatibilityReason to denote editionlrh2000-1/+1
2021-06-26Add migration lint for reserved prefixes.Mara Bos-0/+38
2021-06-26Make ForceWarn a lint level.Camille GILLOT-0/+2