about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/lint.rs
AgeCommit message (Expand)AuthorLines
2023-12-23Streamline `struct_lint_level`.Nicholas Nethercote-23/+13
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-2/+2
2023-12-18Rename `HandlerInner` as `DiagCtxtInner`.Nicholas Nethercote-1/+1
2023-12-15Fix commentsMichael Goulet-22/+3
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-9/+2
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-2/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-3/+2
2023-09-22give FutureIncompatibilityReason variants more explicit namesRalf Jung-3/+6
2023-09-04Add help to allow lint for the implied by suggestionUrgau-0/+3
2023-08-02fix RedundantLocals clippy caused by async and awaityukang-0/+9
2023-08-02Fix #107113, avoid suggest for macro attributesyukang-1/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-9/+5
2023-07-18Add `#[track_caller]` to lint related diagnostic functionsMaybe Waffle-0/+2
2023-07-12Move `maybe_lint_level_root_bounded`.Nicholas Nethercote-20/+0
2023-06-27Simplify some conditionsMaybe Waffle-3/+4
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-05-25Remove ExpnKind::Inlined.Camille GILLOT-2/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-6/+6
2023-01-10create helper function for `rustc_lint_defs::Level` and remove it's duplicate...ozkanonur-10/+1
2023-01-04rename get_parent_node to parent_idMichael Goulet-1/+1
2022-11-06fix: typoRejyr-1/+1
2022-10-16fix typoRalf Jung-1/+1
2022-10-12Apply suggestions from code reviewWaffle Maybe-9/+4
2022-10-12Improve docs for `struct_lint_level` function.Maybe Waffle-0/+38
2022-10-04Rollup merge of #102568 - compiler-errors:lint-unsatisfied-opaques, r=oli-obkDylan DPC-1/+3
2022-10-04Rollup merge of #102567 - compiler-errors:issue-102561, r=davidtwcoMatthias Krüger-1/+4
2022-10-02Lint for unsatisfied nested opaquesMichael Goulet-1/+3
2022-10-02Remove a couple lifetimes that could be inferedMaybe Waffle-7/+6
2022-10-02Delay evaluating lint primary message until after it would be suppressedMichael Goulet-1/+4
2022-10-01Use a SortedMap instead of a VecMap.Camille GILLOT-2/+2
2022-10-01Compute by owner instead of HirId.Camille GILLOT-6/+19
2022-10-01Do not fetch HIR node when iterating to find lint.Camille GILLOT-7/+3
2022-10-01Move lint level computation to rustc_middle::lint.Camille GILLOT-36/+64
2022-10-01Move code to rustc_lint.Camille GILLOT-149/+38
2022-10-01Remove unused tool_name.Camille GILLOT-2/+0
2022-10-01Compute `lint_levels` by definitionDeadbeef-19/+92
2022-10-01Move lint level source explanation to the bottomMaybe Waffle-2/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-8/+24
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-98/+124
2022-09-22Revert "Auto merge of #101862 - cjgillot:lint-regression, r=oli-obk"Camille GILLOT-1/+1
2022-09-15Do not fetch HIR node when iterating to find lint.Camille GILLOT-1/+1
2022-09-14Remove unused tool_name.Camille GILLOT-2/+0
2022-09-14Move some code and add comments.Camille GILLOT-180/+83
2022-09-14Compute `lint_levels` by definitionDeadbeef-19/+92
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-07-05lint: `LintDiagnosticBuilder` into `rustc_errors`David Wood-26/+1
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-2/+3
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-5/+11
2022-05-08Move lint expectation checking into a separate query (RFC 2383)xFrednet-1/+6
2022-04-05span: move `MultiSpan`David Wood-2/+2