about summary refs log tree commit diff
path: root/clippy_lints/src/transmute/utils.rs
AgeCommit message (Collapse)AuthorLines
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-4/+5
the behavior of the type system not only depends on the current assumptions, but also the currentnphase of the compiler. This is mostly necessary as we need to decide whether and how to reveal opaque types. We track this via the `TypingMode`.
2024-04-08Stop exporting `TypeckRootCtxt` and `FnCtxt`.Oli Scherer-37/+0
While they have many convenient APIs, it is better to expose dedicated functions for them
2024-03-26Inherited -> TypeckRootCtxtMichael Goulet-3/+3
2024-01-25Remove an unused error count checkOli Scherer-17/+1
2023-07-17Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyupPhilipp Krones-1/+2
2023-03-10Directly construct Inherited.Camille GILLOT-29/+28
2023-01-27Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyupPhilipp Krones-18/+6
2023-01-23fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo-1/+1
use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-11-21Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyupPhilipp Krones-3/+8
2022-10-28Retain ParamEnv constness when running deferred cast checksDeadbeef-1/+2
Fixes #103677.
2022-10-23Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyupflip1995-16/+8
2022-10-20rustc_hir_typeck: fix clippylcnr-1/+1
2022-10-14Remove CastCheckResult since it's unusedMichael Goulet-12/+17
2022-10-06Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyupPhilipp Krones-1/+4
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-1/+1
fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)`
2022-09-13Address code review commentsEric Holk-19/+8
2022-09-12Make x.py check workEric Holk-9/+20
2022-06-30Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyupPhilipp Krones-27/+1
2022-05-05Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyupflip1995-12/+8
2021-04-08Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyupflip1995-1/+1
2021-03-25Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyupflip1995-1/+3
2021-03-12Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyupflip1995-0/+104