rust/compiler/rustc_const_eval/src
Jubilee d4c81c6987
Rollup merge of #132823 - RalfJung:conditional-const-calls, r=fee1-dead,compiler-errors
require const_impl_trait gate for all conditional and trait const calls

Alternative to https://github.com/rust-lang/rust/pull/132786.

`@compiler-errors`  this is basically what I meant with my proposals. I found it's easier to express this in code than English. ;)

r? `@compiler-errors`
2024-11-09 20:28:44 -08:00
..
check_consts give a hint which feature is missing 2024-11-09 23:32:06 +01:00
const_eval make return type of get_alloc_info a struct, and reduce some code duplication with validity checking 2024-11-09 15:18:52 +01:00
interpret make return type of get_alloc_info a struct, and reduce some code duplication with validity checking 2024-11-09 15:18:52 +01:00
util compiler: Directly use rustc_abi in const_eval 2024-11-03 13:38:47 -08:00
errors.rs require const_impl_trait gate for all conditional and trait const calls 2024-11-09 23:02:20 +01:00
lib.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00