summary refs log tree commit diff
path: root/compiler/rustc_lint_defs/src/lib.rs
AgeCommit message (Expand)AuthorLines
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
2023-11-14Clarify how to choose a FutureIncompatibilityReason variant.Eric Huss-0/+67
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-4/+4
2023-09-28Remove `rustc_lint_defs::lint_array`DaniPopes-11/+2
2023-09-22make the reason: field mandatory for @future_incompatible lintsRalf Jung-1/+5
2023-09-22give FutureIncompatibilityReason variants more explicit namesRalf Jung-5/+11
2023-09-06Change unsafe_op_in_unsafe_fn to be warn-by-default from edition 2024Wim Looman-16/+4
2023-08-22Auto merge of #115104 - compiler-errors:rollup-8235xz5, r=compiler-errorsbors-0/+4
2023-08-21Redefine the pluralize macro's armallaboutevemirolive-1/+2
2023-08-20Warn on elided lifetimes in associated constantsMichael Goulet-0/+4
2023-07-29fix(resolve): update the ambiguity glob binding as warning recursivelybohan-0/+18
2023-07-18Fix removal span calculation of unused_qualifications suggestion许杰友 Jieyou Xu (Joe)-4/+2