rust/compiler/rustc_const_eval/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
..
const_eval Replace enum ==s with matches where it makes sense 2023-01-30 12:26:26 +00:00
interpret Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk 2023-02-08 07:13:26 +01:00
transform Modify existing bounds if they exist 2023-02-06 11:26:36 -08:00
util Stop deaggegating MIR. 2023-02-02 23:20:29 +00:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
lib.rs Auto merge of #105582 - saethlin:instcombine-assert-inhabited, r=cjgillot 2023-01-26 03:10:52 +00:00