1
Fork 0
rust/compiler/rustc_hir_analysis/src/check
Matthias Krüger 415b207b7f
Rollup merge of #137617 - BoxyUwU:generic_const_parameter_types, r=lcnr
Introduce `feature(generic_const_parameter_types)`

Allows to define const generic parameters whose type depends on other generic parameters, e.g. `Foo<const N: usize, const ARR: [u8; N]>;`

Wasn't going to implement for this for a while until we could implement it with `bad_inference.rs` resolved but apparently the project simd folks would like to be able to use this for some intrinsics and the inference issue isn't really a huge problem there aiui. (cc ``@workingjubilee`` )
2025-03-01 11:33:58 +01:00
..
compare_impl_item Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00
check.rs Don't require method impls for methods with Self:Sized bounds for impls for unsized types 2025-02-25 08:06:30 +00:00
compare_impl_item.rs Rollup merge of #137000 - compiler-errors:deeply-normalize-item-bounds, r=lcnr 2025-02-18 18:40:51 +01:00
dropck.rs Remove an out-of-date FIXME comment. 2025-01-31 08:27:15 +11:00
entry.rs Change span field accesses to method calls 2025-02-24 14:22:31 +01:00
intrinsic.rs Rollup merge of #137595 - folkertdev:remove-simd-pow-powi, r=RalfJung 2025-02-25 13:07:40 +01:00
intrinsicck.rs Handle asm const similar to inline const 2025-02-26 19:27:19 +00:00
mod.rs Move methods from Map to TyCtxt, part 3. 2025-02-21 14:31:09 +11:00
region.rs Move methods from Map to TyCtxt, part 2. 2025-02-18 10:17:44 +11:00
wfcheck.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00