about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/lint.rs
AgeCommit message (Expand)AuthorLines
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
2021-06-29Auto merge of #86009 - cjgillot:fwarn, r=davidtwcobors-28/+7
2021-06-27Add `explain_reason: false` in future_incompatible.Mara Bos-3/+8
2021-06-26Make ForceWarn a lint level.Camille GILLOT-28/+7
2021-06-25Address PR feedbackRyan Levick-1/+1
2021-06-25Change how edition based future compatibility warnings are handledRyan Levick-8/+17
2021-06-02Add a page on force-warns in unstable bookRyan Levick-1/+1
2021-06-02Force warn on lint groups as wellRyan Levick-2/+2
2021-06-01Fix issues and add testRyan Levick-1/+0
2021-05-28Initial support for force-warnsRyan Levick-4/+27
2021-05-12Implement span quoting for proc-macrosAaron Hill-1/+1
2021-04-14Cancel emitting FCW lint if it is an edition fixing lintRyan Levick-5/+7
2021-02-25Rollup merge of #81713 - estebank:unstable-assoc-item-lint, r=oli-obkDylan DPC-4/+4