about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/lint.rs
AgeCommit message (Expand)AuthorLines
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
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-20Filter OnceNote in diagnostic infra.Camille GILLOT-38/+16
2022-03-16rustc_error: make ErrorReported impossible to constructmark-9/+17
2022-03-07Handle `#[expect(unfulfilled_lint_expectations)]` with a lint messagexFrednet-2/+10
2022-03-02Use Vec for expectations to have a constant order (RFC-2383)xFrednet-1/+1
2022-03-02Address review commentsxFrednet-1/+1
2022-03-02Emit `unfullfilled_lint_expectation` using a `HirId` for performance (RFC-2383)xFrednet-11/+2
2022-03-02Make `LintExpectationId` stable between compilation sessions (RFC-2383)xFrednet-2/+1
2022-03-02Set `LintExpectationId` in level and collect fulfilled ones (RFC-2383)xFrednet-2/+40
2022-03-02Added `Expect` lint level and attribute (RFC-2383)xFrednet-0/+22
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+3
2022-02-23rustc_errors: handle `force_warn` only through `DiagnosticId::Lint`.Eduard-Mihai Burtescu-4/+2
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-4/+4
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-62/+73
2022-02-01update `FutureIncompatibilityReason`lcnr-25/+22
2022-01-24rustc_errors: remove `allow_suggestions` from `DiagnosticBuilder`.Eduard-Mihai Burtescu-1/+1
2021-12-19Auto merge of #92099 - matthiaskrgr:rollup-4gwv67m, r=matthiaskrgrbors-1/+1
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-1/+1
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-1/+1
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-14fix clippy::single_char_pattern perf findingsMatthias Krüger-2/+2
2021-11-21Simplify for loop desugarCameron Steffen-1/+1
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-2/+6
2021-10-05Auto merge of #89266 - cjgillot:session-ich, r=michaelwoeristerbors-1/+1
2021-10-03Remove re-export.Camille GILLOT-1/+1
2021-10-02Add desugaring mark to while loopCameron Steffen-3/+3
2021-09-04Fix #88256, remove duplicated diagnosticyukang-0/+1
2021-07-21Rename force-warns to force-warnRyan Levick-1/+1
2021-07-14Add -Zfuture-incompat-test to assist with testing future-incompat reports.Eric Huss-7/+7
2021-07-11Simplify future incompatible reporting.Eric Huss-3/+8
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-1/+1
2021-07-06Auto merge of #86572 - rylev:force-warnings-always, r=nikomatsakisbors-5/+13
2021-07-06Add missing docs and remove dead codeRyan Levick-3/+1
2021-07-01New force_warn diagnostic builder and ensure cap-lints doesn't reduce force_w...Ryan Levick-14/+11
2021-06-30Force warnings even when can_emit_warnings == falseRyan Levick-1/+14
2021-06-29Encode CommandLine in the index only.Camille GILLOT-24/+13
2021-06-29Use a newtype_index instead of a u32.Camille GILLOT-7/+15
2021-06-29Use the macro to implement HashStable.Camille GILLOT-25/+3