rust/compiler/rustc_trait_selection/src
Matthias Krüger 774655da5f
Rollup merge of #93977 - compiler-errors:sized-generic-metadata, r=wesleywiser
Type params and assoc types have unit metadata if they are sized

Extend the logic in `Pointee` projection to ensure that we can satisfy `<T as Pointee>::Metadata = ()` if `T: Sized`.

cc: `@SimonSapin` and #93959
2022-03-14 17:24:57 +01:00
..
traits Rollup merge of #93977 - compiler-errors:sized-generic-metadata, r=wesleywiser 2022-03-14 17:24:57 +01:00
autoderef.rs Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk" 2021-12-12 12:34:46 +08:00
infer.rs Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk" 2021-12-12 12:34:46 +08:00
lib.rs suggest enabling generic_const_exprs feature if const is unevaluatable 2022-03-09 14:47:50 -08:00
opaque_types.rs Overhaul Const. 2022-02-15 16:19:59 +11:00