about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2024-09-06Lint against keyword lifetimes in keyword_identsMichael Goulet-4/+16
2024-08-22Use a LocalDefId in ResolvedArg.Camille GILLOT-5/+5
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1
2024-08-09diagnostics: do not warn when a lifetime bound infers itselfMichael Howell-6/+15
2024-07-29Reformat `use` declarations.Nicholas Nethercote-30/+28
2024-07-23Update the description of lint type_alias_boundsLeón Orell Valerian Liehr-9/+21
2024-07-23Make lint type_alias_bounds's removal sugg maybe-incorrect if the RHS contain...León Orell Valerian Liehr-43/+48
2024-07-23Improve the impl and diag output of lint type_alias_boundsLeón Orell Valerian Liehr-39/+53
2024-07-23Suppress lint type_alias_bounds for ty aliases containing const projections u...León Orell Valerian Liehr-0/+10
2024-07-23Don't suppress lint type_alias_bounds for ty aliases containing inherent asso...León Orell Valerian Liehr-17/+11
2024-07-19Update the `binary_asm_label` documentationTrevor Gross-9/+23
2024-07-18Change `binary_asm_labels` to only fire on x86 and x86_64Trevor Gross-9/+16
2024-07-12Rollup merge of #127535 - spastorino:unsafe_code-unsafe_extern_blocks, r=oli-obkJubilee-0/+6
2024-07-09Fire unsafe_code lint on unsafe extern blocksSantiago Pastorino-0/+6
2024-07-09add lint for inline asm labels that look like binaryasquared31415-29/+102
2024-06-27Remove the `box_pointers` lint.Nicholas Nethercote-79/+3
2024-06-11Rollup merge of #125659 - tbu-:pr_rm_isize, r=pnkfelix许杰友 Jieyou Xu (Joe)-1/+1
2024-06-06Rollup merge of #126040 - Urgau:unreachable_pub-fields-less, r=petrochenkovJubilee-6/+15
2024-06-06Don't warn on fields in the `unreachable_pub` lintUrgau-6/+15
2024-06-03Fix up comments.Nicholas Nethercote-16/+26
2024-05-28Remove usage of `isize` in exampleTobias Bucher-1/+1
2024-05-24move generics_of call outside of iterBoxy-1/+3
2024-05-24Remove `DefId` from `EarlyParamRegion` (tedium/diagnostics)Boxy-3/+15
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-0/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-05-22Use correct param-env in MissingCopyImplementationsMichael Goulet-5/+4
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-15/+6
2024-05-18Auto merge of #125077 - spastorino:add-new-fnsafety-enum2, r=jackh726bors-3/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-05-16Remove trivial Binder::dummy callsMichael Goulet-1/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-2/+2
2024-05-07Make sure we don't deny macro vars w keyword namesMichael Goulet-1/+10
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-04-22Deny gen keyword in edition_2024_compat lintsMichael Goulet-30/+72
2024-04-08Rollup merge of #120144 - petrochenkov:unty, r=davidtwcoMatthias Krüger-2/+3
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+1
2024-03-22Split out ImplPolarity and PredicatePolarityMichael Goulet-1/+1
2024-03-22Make RawPtr take Ty and Mutbl separatelyMichael Goulet-1/+1
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-17Auto merge of #121885 - reitermarkus:generic-nonzero-inner, r=oli-obk,wesleyw...bors-0/+2
2024-03-14Fix lint.Markus Reiter-0/+2
2024-03-14Rename `ast::StmtKind::Local` into `ast::StmtKind::Let`Guillaume Gomez-1/+1
2024-03-13privacy: Stabilize lint `unnameable_types`Vadim Petrochenkov-2/+3
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-2/+2
2024-03-05Auto merge of #121780 - nnethercote:diag-renaming2, r=davidtwcobors-2/+2
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Auto merge of #120675 - oli-obk:intrinsics3.0, r=pnkfelixbors-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1