about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/context.rs
AgeCommit message (Expand)AuthorLines
2023-07-18Fix removal span calculation of unused_qualifications suggestion许杰友 Jieyou Xu (Joe)-4/+4
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-07-13Add machine-applicable suggestion for `unused_qualifications` lint许杰友 Jieyou Xu (Joe)-0/+8
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-10Adjust span labels for `HIDDEN_GLOB_REEXPORTS`许杰友 Jieyou Xu (Joe)-2/+2
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-0/+4
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-8/+8
2023-05-05Improve check-cfg diagnostics (part 2)Urgau-9/+45
2023-05-05Improve check-cfg diagnostics (part 1)Urgau-8/+8
2023-05-05Improve internal representation of check-cfgUrgau-6/+8
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-10/+10
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