rust/compiler/rustc_ty_utils/src
Dylan DPC ecae3d74e2
Rollup merge of #99000 - JulianKnodt:allow_resolve_no_substs, r=lcnr
Move abstract const to middle

Moves AbstractConst (and all associated methods) to rustc middle for use in `rustc_infer`.
This allows for const resolution in infer to use abstract consts to walk consts and check if
they are resolvable.

This attempts to resolve the issue where `Foo<{ concrete const }, generic T>` is incorrectly marked as conflicting, and is independent from the other issue where nested abstract consts must be resolved.

r? `@lcnr`
2022-07-14 19:24:04 +05:30
..
assoc.rs Store a Symbol instead of an Ident in AssocItem 2022-01-19 17:13:21 -05:00
common_traits.rs Don't consider !Unpin references as noalias 2021-03-21 20:10:53 +01:00
consts.rs Fix overlapping impls 2022-07-14 09:01:17 +00:00
instance.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
lib.rs Move abstract const to rustc_middle::ty 2022-07-12 02:21:31 +00:00
needs_drop.rs Add bound_type_of 2022-05-13 18:27:18 -04:00
representability.rs Specialize suggestion for Option<T> 2022-03-31 08:04:53 -07:00
ty.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00