rust/compiler/rustc_const_eval/src
Dylan DPC 29c6f5f603
Rollup merge of #97763 - RalfJung:fallible-cast, r=lcnr
Allow ptr_from_addr_cast to fail

This is needed for https://github.com/rust-lang/miri/issues/2133: I would like to have an option in Miri to error when a int2ptr cast is executed.
2022-06-08 13:43:18 +02:00
..
const_eval Add a helper function for checking whether a default function in a trait can be treated as const 2022-05-30 08:52:25 +00:00
interpret Rollup merge of #97763 - RalfJung:fallible-cast, r=lcnr 2022-06-08 13:43:18 +02:00
transform Remove AlwaysLiveLocals wrapper struct 2022-06-07 16:54:00 +02:00
util rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
lib.rs Remove #[default..] and add #[const_trait] 2022-05-30 08:52:24 +00:00