rust/compiler/rustc_const_eval/src/interpret
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
..
intrinsics miri: fix ICE when running out of address space 2023-02-07 13:26:31 +01:00
cast.rs Rename PointerSized to PointerLike 2023-02-07 19:05:53 +00:00
discriminant.rs interpret: move discriminant reading and writing to separate file 2023-02-06 17:10:26 +01:00
eval_context.rs Replace terminator-based const eval limit 2023-01-23 23:56:22 +00:00
intern.rs Download rustc component for rustfmt toolchain as well 2023-01-31 10:29:33 -05:00
intrinsics.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
machine.rs miri: fix ICE when running out of address space 2023-02-07 13:26:31 +01:00
memory.rs miri: fix ICE when running out of address space 2023-02-07 13:26:31 +01:00
mod.rs interpret: move discriminant reading and writing to separate file 2023-02-06 17:10:26 +01:00
operand.rs interpret: move discriminant reading and writing to separate file 2023-02-06 17:10:26 +01:00
operator.rs avoid .into() conversion to identical types 2022-12-18 16:20:32 +01:00
place.rs Rollup merge of #107756 - RalfJung:miri-out-of-addresses, r=oli-obk 2023-02-07 17:57:18 +01:00
projection.rs Undo questionable changes 2023-01-17 07:48:19 +00:00
step.rs Introduce write_aggregate. 2023-02-02 23:26:34 +00:00
terminator.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
traits.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
util.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00
validity.rs Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
visitor.rs Self review suggestions 2023-01-17 07:48:20 +00:00