1
Fork 0
rust/compiler/rustc_hir_analysis/src/check
bors bba9785dd7 Auto merge of #100720 - camsteffen:representable, r=cjgillot
Rewrite representability

 * Improve placement of `Box` in the suggestion
 * Multiple items in a cycle emit 1 error instead of an error for each item in the cycle
 * Introduce `representability` query to avoid traversing an item every time it is used.
 * Also introduce `params_in_repr` query to avoid traversing generic items every time it is used.
2022-10-08 11:53:25 +00:00
..
fn_ctxt Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
generator_interior rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
method Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
_match.rs do not reverse the expected type and found type for ObligationCauseCode of IfExpressionWithNoElse 2022-10-05 14:00:51 -07:00
autoderef.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
callee.rs Update compiler/rustc_hir_analysis/src/check/callee.rs 2022-10-05 10:13:47 -07:00
cast.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
check.rs Auto merge of #100720 - camsteffen:representable, r=cjgillot 2022-10-08 11:53:25 +00:00
closure.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
coercion.rs Introduce TypeErrCtxt 2022-10-07 07:06:16 -05:00
compare_method.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
demand.rs Introduce TypeErrCtxt 2022-10-07 07:06:16 -05:00
diverges.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
dropck.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
expectation.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
expr.rs Introduce TypeErrCtxt 2022-10-07 07:06:16 -05:00
fallback.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
gather_locals.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
generator_interior.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
inherited.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
intrinsic.rs rustc_safe_intrinsic: Keep list of safe intrinsics within the compiler 2022-09-28 09:40:02 +02:00
intrinsicck.rs It's not about types or consts, but the lack of regions 2022-10-04 14:10:44 +00:00
mod.rs Rewrite representability 2022-10-07 09:33:46 -05:00
op.rs Introduce TypeErrCtxt 2022-10-07 07:06:16 -05:00
pat.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
place_op.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
region.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
rvalue_scopes.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
upvar.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00
wfcheck.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
writeback.rs Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00