Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bba9785

Browse files
committedOct 8, 2022
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.
2 parents a688a03 + ff940db commit bba9785

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+529
-736
lines changed
 

‎Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3552,7 +3552,6 @@ dependencies = [
35523552
"rustc_span",
35533553
"rustc_target",
35543554
"rustc_trait_selection",
3555-
"rustc_ty_utils",
35563555
"rustc_type_ir",
35573556
"smallvec",
35583557
"tracing",

‎compiler/rustc_hir_analysis/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ rustc_span = { path = "../rustc_span" }
2626
rustc_index = { path = "../rustc_index" }
2727
rustc_infer = { path = "../rustc_infer" }
2828
rustc_trait_selection = { path = "../rustc_trait_selection" }
29-
rustc_ty_utils = { path = "../rustc_ty_utils" }
3029
rustc_lint = { path = "../rustc_lint" }
3130
rustc_serialize = { path = "../rustc_serialize" }
3231
rustc_type_ir = { path = "../rustc_type_ir" }

0 commit comments

Comments
 (0)
Please sign in to comment.