about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/levels.rs
AgeCommit message (Expand)AuthorLines
2024-09-14Fix lint levels not getting overridden by attrs on `Stmt` nodesGurinder Singh-5/+3
2024-08-31Simplify lint source computation.Camille GILLOT-105/+83
2024-08-31Remove attr_id from stable lint ids.Camille GILLOT-12/+6
2024-08-31Rewrite lint_expectations in a single pass.Camille GILLOT-144/+6
2024-08-31Use AttrId key for unstable<->stable expectation map.Camille GILLOT-5/+4
2024-08-27Add `warn(unreachable_pub)` to `rustc_lint`.Nicholas Nethercote-1/+1
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-08-10rustc_lint: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-2/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-25/+17
2024-06-25RFC 2383: Stabilize `lint_reasons` :tada:xFrednet-10/+0
2024-06-03Tweak `CheckLintNameResult::Tool`.Nicholas Nethercote-35/+25
2024-06-03Fix up comments.Nicholas Nethercote-9/+13
2024-05-27Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercotebors-25/+17
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-25/+17
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-03-22Rename `hir::Local` into `hir::LetStmt`Guillaume Gomez-2/+2
2024-03-19The AssocOpaqueTy HIR node is not actually needed to differentiate from other...Oli Scherer-1/+1
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-0/+1
2024-03-14Auto merge of #120943 - petrochenkov:somehir3, r=oli-obkbors-0/+1
2024-03-13Create some minimal HIR for associated opaque typesVadim Petrochenkov-0/+1
2024-03-13Various style improvements to `rustc_lint::levels`Zalathar-128/+121
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-3/+3
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+1
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+3
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-1/+1
2024-01-23Rename `struct_lint_level` as `lint_level`.Nicholas Nethercote-6/+6
2024-01-23Rename `LintLevelsBuilder::emit_spanned_lint` as `LintLevelsBuilder::emit_spa...Nicholas Nethercote-7/+7
2024-01-23Rename `LintLevelsBuilder::struct_lint` as `LintLevelsBuilder::opt_span_lint`.Nicholas Nethercote-1/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-2/+2
2024-01-12check rust lints when an unknown lint is detectedyukang-4/+5
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-31rustc_lint: Make `LintLevelsProvider::current_specs()` return `&FxIndexMap`Martin Nordholts-17/+17
2023-12-28rustc_lint: Prevent triplication of 'unknown lint' lintMartin Nordholts-23/+23
2023-12-28rustc_lint: Prevent multiple 'incompatible with previous forbid' lintsMartin Nordholts-1/+1
2023-12-28rustc_lint: Prevent multiple 'lint ignored' lintsMartin Nordholts-1/+1
2023-12-28rustc_lint: Rename `warn_about_weird_lints` to `lint_added_lints`Martin Nordholts-6/+6
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-10/+12
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-15Fix commentsMichael Goulet-2/+0
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-6/+3
2023-11-25is_{some,ok}_andMichael Goulet-1/+1
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-8/+8
2023-11-17Move `lint_store` from `GlobalCtxt` to `Session`.Nicholas Nethercote-2/+2
2023-11-17Remove dead lint code.Nicholas Nethercote-4/+0
2023-10-16Rename `ACTIVE_FEATURES` as `UNSTABLE_FEATURES`.Nicholas Nethercote-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-4/+9