about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/lib.rs
AgeCommit message (Expand)AuthorLines
2024-10-19Do not run lints that cannot emitblyxyas-5/+25
2024-10-08Reserve guarded string literals (RFC 3593)Peter Jaszkowiak-0/+2
2024-10-05Make deprecated_cfg_attr_crate_type_name a hard errorest31-2/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Disallow hidden references to mutable staticObei Sideg-1/+1
2024-09-07Rollup merge of #126452 - compiler-errors:raw-lifetimes, r=spastorinoMatthias Krüger-0/+2
2024-09-06Add initial support for raw lifetimesMichael Goulet-0/+2
2024-09-06elided_named_lifetimes: unify lint def & pass MissingLifetimeKindPavel Grigorenko-7/+10
2024-09-01Auto merge of #127313 - cjgillot:single-expect, r=jieyouxubors-26/+5
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-26/+5
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-0/+7
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint_defs`.Nicholas Nethercote-0/+4
2024-08-07Disallow setting built-in cfgs via set the command-lineUrgau-0/+5
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+5
2024-06-28Only require symbol name for @feature_gateMichael Goulet-6/+6
2024-06-24resolve: Implement a lint for out-of-scope use of `macro_rules`Vadim Petrochenkov-0/+3
2024-06-23Add hard error and migration lint for unsafe attrscarbotaniuman-0/+4
2024-06-20Remove useless `tidy-alphabetical` markers.Nicholas Nethercote-2/+0
2024-06-14Resolve elided lifetimes in assoc const to static if no other lifetimes are i...Michael Goulet-0/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-0/+2
2024-06-11Rollup merge of #125913 - fmease:early-lints-spruce-up-some-diags, r=Nadrieril许杰友 Jieyou Xu (Joe)-1/+4
2024-06-06Auto merge of #124482 - spastorino:unsafe-extern-blocks, r=oli-obkbors-0/+3
2024-06-05Make MISSING_UNSAFE_ON_EXTERN lint emit future compat info with suggestion to...Santiago Pastorino-1/+3
2024-06-04Make extern blocks without unsafe warn in edition 2024Santiago Pastorino-0/+1
2024-06-03Spruce up the diagnostics of some early lintsLeón Orell Valerian Liehr-1/+4
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-4/+0
2024-05-23Slightly clean up some lint infra codeLeón Orell Valerian Liehr-16/+9
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Make early lints translatableXiretza-8/+11
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-15/+41
2024-05-21Port DeprecatedMacro to diag structsXiretza-2/+11
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-16/+33
2024-05-21Convert NAMED_ASM_LABELS lint to diag structXiretza-1/+0
2024-05-15Add `on_unimplemented" typo suggestionsmejrs-0/+4
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-3/+1
2024-04-29[Refactor] Rename Lint and LintGroup\'s is_loaded to is_externally_loadedblyxyas-4/+5
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-3/+1
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-5/+5
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-5/+5
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-1/+1
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-1/+1
2024-02-18Extend Level APIGuillaume Gomez-13/+17
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-10Remove unnecessary `#![feature(min_specialization)]`Zalathar-2/+0
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-04Split StableCompare trait out of StableOrd trait.Michael Woerister-1/+11
2023-12-12Rollup merge of #117927 - ehuss:future-incompat-docs, r=wesleywiserMatthias Krüger-0/+67
2023-12-01vis note for no pub reexports glob importbohan-0/+4