index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_middle
/
src
/
lint.rs
Age
Commit message (
Expand
)
Author
Lines
2024-09-22
Reformat using the new identifier sorting from rustfmt
Michael Goulet
-2
/
+2
2024-08-31
Rewrite lint_expectations in a single pass.
Camille GILLOT
-1
/
+2
2024-08-08
Only suggest `#[allow]` for `--warn` and `--deny` lint level flags
Alex Macleod
-3
/
+5
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-4
/
+2
2024-05-27
Auto merge of #125410 - fmease:adj-lint-diag-api, r=nnethercote
bors
-8
/
+2
2024-05-23
Remove `#[macro_use] extern crate tracing` from `rustc_middle`.
Nicholas Nethercote
-0
/
+1
2024-05-23
Remove `LintDiagnostic::msg`
León Orell Valerian Liehr
-8
/
+2
2024-04-29
Remove `extern crate rustc_macros` from `rustc_middle`.
Nicholas Nethercote
-0
/
+1
2024-03-17
Guard decorate on when not to skip instead
许杰友 Jieyou Xu (Joe)
-7
/
+4
2024-03-17
Invoke decorate when error level is beyond warning, including error
许杰友 Jieyou Xu (Joe)
-7
/
+16
2024-03-17
Only invoke `decorate` if the diag can eventually be emitted
许杰友 Jieyou Xu (Joe)
-2
/
+10
2024-03-05
Rename `DiagnosticMessage` as `DiagMessage`.
Nicholas Nethercote
-3
/
+3
2024-02-28
Rename `DiagnosticBuilder` as `Diag`.
Nicholas Nethercote
-8
/
+7
2024-02-19
Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.
Nicholas Nethercote
-4
/
+4
2024-02-13
Do not point at `#[allow(_)]` as the reason for compat lint triggering
Esteban Küber
-0
/
+5
2024-01-23
Rename `struct_lint_level` as `lint_level`.
Nicholas Nethercote
-3
/
+3
2024-01-23
Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.
Nicholas Nethercote
-1
/
+1
2024-01-23
Rename `TyCtxt::emit_lint` as `TyCtxt::emit_node_lint`.
Nicholas Nethercote
-1
/
+1
2024-01-23
Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.
Nicholas Nethercote
-1
/
+1
2024-01-23
Rename `TyCtxt::struct_lint_node` as `TyCtxt::node_lint`.
Nicholas Nethercote
-1
/
+1
2024-01-23
Rename `LintContext::lookup` as `LintContext::opt_span_lint`.
Nicholas Nethercote
-1
/
+1
2024-01-14
Rework how diagnostic lints are stored.
Nicholas Nethercote
-5
/
+2
2024-01-11
Change how `force-warn` lint diagnostics are recorded.
Nicholas Nethercote
-8
/
+6
2024-01-08
Use chaining for `DiagnosticBuilder` construction and `emit`.
Nicholas Nethercote
-1
/
+0
2024-01-04
Remove `is_lint` field from `Level::Error`.
Nicholas Nethercote
-1
/
+1
2024-01-03
Rename some `Diagnostic` setters.
Nicholas Nethercote
-3
/
+3
2023-12-31
rustc_lint: Make `LintLevelsProvider::current_specs()` return `&FxIndexMap`
Martin Nordholts
-2
/
+2
2023-12-23
Streamline `struct_lint_level`.
Nicholas Nethercote
-23
/
+13
2023-12-18
Rename `Session::span_diagnostic` as `Session::dcx`.
Nicholas Nethercote
-2
/
+2
2023-12-18
Rename `HandlerInner` as `DiagCtxtInner`.
Nicholas Nethercote
-1
/
+1
2023-12-15
Fix comments
Michael Goulet
-22
/
+3
2023-12-15
Don't pass lint back out of lint decorator
Michael Goulet
-9
/
+2
2023-11-04
Remove support for compiler plugins.
Nicholas Nethercote
-2
/
+1
2023-11-02
Minimize `pub` usage in `source_map.rs`.
Nicholas Nethercote
-3
/
+2
2023-09-22
give FutureIncompatibilityReason variants more explicit names
Ralf Jung
-3
/
+6
2023-09-04
Add help to allow lint for the implied by suggestion
Urgau
-0
/
+3
2023-08-02
fix RedundantLocals clippy caused by async and await
yukang
-0
/
+9
2023-08-02
Fix #107113, avoid suggest for macro attributes
yukang
-1
/
+5
2023-07-30
inline format!() args up to and including rustc_middle
Matthias Krüger
-9
/
+5
2023-07-18
Add `#[track_caller]` to lint related diagnostic functions
Maybe Waffle
-0
/
+2
2023-07-12
Move `maybe_lint_level_root_bounded`.
Nicholas Nethercote
-20
/
+0
2023-06-27
Simplify some conditions
Maybe Waffle
-3
/
+4
2023-05-29
Use `Cow` in `{D,Subd}iagnosticMessage`.
Nicholas Nethercote
-1
/
+1
2023-05-25
Remove ExpnKind::Inlined.
Camille GILLOT
-2
/
+1
2023-05-03
Restrict `From<S>` for `{D,Subd}iagnosticMessage`.
Nicholas Nethercote
-6
/
+6
2023-01-10
create helper function for `rustc_lint_defs::Level` and remove it's duplicate...
ozkanonur
-10
/
+1
2023-01-04
rename get_parent_node to parent_id
Michael Goulet
-1
/
+1
2022-11-06
fix: typo
Rejyr
-1
/
+1
2022-10-16
fix typo
Ralf Jung
-1
/
+1
2022-10-12
Apply suggestions from code review
Waffle Maybe
-9
/
+4
[next]