about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2023-03-20Lint ambiguous glob re-exports许杰友 Jieyou Xu (Joe)-0/+4
2023-02-22Move the unused extern crate check back to the resolver.Camille GILLOT-0/+17
2023-02-19Make public API, docs algorithm-agnosticJacob Pratt-1/+1
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-6/+4
2023-02-14Fix #107998, avoid ICE when the generic_span is emptyyukang-1/+9
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-0/+3
2023-01-16fix #104440Takayuki Maeda-21/+26
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09add: `#[rustc_lint_diagnostics]` for more `context.rs` functions.Rejyr-0/+5
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