1
Fork 0
rust/compiler/rustc_trait_selection/src
Matthias Krüger fabefe3f31
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
Rename `PointerSized` to `PointerLike`

The old name was unnecessarily vague. This PR renames a nightly language feature that I added, so I don't think it needs any additional approval, though anyone can feel free to speak up if you dislike the rename.

It's still unsatisfying that we don't the user which of {size, alignment} is wrong, but this trait really is just a stepping stone for a more generalized mechanism to create `dyn*`, just meant for nightly testing, so I don't think it really deserves additional diagnostic machinery for now.

Fixes #107696, cc ``@RalfJung``
r? ``@eholk``
2023-02-08 07:13:26 +01:00
..
solve Rename PointerSized to PointerLike 2023-02-07 19:05:53 +00:00
traits Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk 2023-02-08 07:13:26 +01:00
errors.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00
infer.rs Simplify some canonical type alias names 2023-01-03 01:16:10 +00:00
lib.rs update cache 2023-01-18 08:09:01 +01:00