about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2022-12-25fix more clippy::style findingsMatthias Krüger-8/+6
2022-12-21Sort lint_groups in no_lint_suggestionUlrich Weigand-1/+10
2022-12-18don't restuct references just to reborrowMatthias Krüger-5/+5
2022-12-14Remove many more cases of `mk_substs_trait` that can now use the iterator sch...Oli Scherer-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-11-23Move `get_associated_type` from `clippy` to `rustc_lint`Maybe Waffle-0/+17
2022-11-19drive-by: PolyExistentialPredicateMichael Goulet-1/+1
2022-11-07fix: lint against lint functionsRejyr-0/+4
2022-10-26privacy: Rename "accessibility levels" to "effective visibilities"Vadim Petrochenkov-2/+2
2022-10-12link lint function with `decorate` function param to `struct_lint_level`Maybe Waffle-0/+19
2022-10-01Compute `lint_levels` by definitionDeadbeef-1/+1
2022-10-01`ui-fulldeps`: adopt to the new rustc lint APIMaybe Waffle-1/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-24/+40
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-1/+1
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-1/+1
2022-09-14Compute `lint_levels` by definitionDeadbeef-1/+1
2022-09-06Allow lint passes to be bound by `TyCtxt`Jason Newcomb-9/+19
2022-09-03more clippy::perf fixesMatthias Krüger-1/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-3/+2
2022-08-26Rollup merge of #100776 - Rejyr:diagnostic-migration-rustc-lint, r=davidtwcoMichael Goulet-58/+35
2022-08-23sugg: take into count the debug formattingVincenzo Palazzo-2/+7
2022-08-23cleanup: commented lintsRejyr-3/+0
2022-08-22migrate: `rustc_lint::context`Rejyr-58/+38
2022-08-02Improve position named arguments lint underline and formatting namesPreston From-6/+11
2022-07-25Generate correct suggestion with named arguments used positionallyPreston From-2/+2
2022-07-15Only suggest if span is not erroneousMichael Goulet-9/+10
2022-07-15Remove some more usages of guess_head_spanMichael Goulet-2/+1
2022-07-13Emit warning when named arguments are used positionally in formatPreston From-0/+12
2022-07-07Rollup merge of #98507 - xFrednet:rfc-2383-manual-expectation-magic, r=wesley...Dylan DPC-1/+32
2022-07-06Add function to manually fulfill lint expectations (RFC 2383)xFrednet-1/+32
2022-07-05errors: introduce `DecorateLint`David Wood-1/+21
2022-07-05lint: `LintDiagnosticBuilder` into `rustc_errors`David Wood-2/+1
2022-06-16Rollup merge of #97757 - xFrednet:rfc-2383-expect-with-force-warn, r=wesleywi...Matthias Krüger-2/+2
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-2/+2
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-4/+4
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-0/+37
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-19Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwcoDylan DPC-26/+1
2022-04-17Lint elided lifetimes in path on the AST.Camille GILLOT-1/+17
2022-04-15Remove `--extern-location` and all associated codeJeremy Fitzhardinge-26/+1
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-16rustc_error: make ErrorReported impossible to constructmark-6/+10
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-1/+1
2022-03-05Review changesJack Huey-4/+6
2022-03-05Change to lintJack Huey-0/+8
2022-03-05Improve unexpected_cfgs lint when their is no value expectedLoïc BRANSTETT-20/+26
2022-03-02Added `Expect` lint level and attribute (RFC-2383)xFrednet-0/+4
2022-02-26Document that pre-expansion lint passes are deprecatedxFrednet-1/+6
2022-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-9/+13