1
Fork 0
rust/compiler/rustc_middle/src
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
..
dep_graph Remove impl_for_typed_def_id macro. 2025-02-04 08:34:11 +11:00
hir Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,traviscross 2025-02-23 02:44:18 -05:00
hooks Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
infer Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
middle Fix binding mode problems 2025-02-22 00:13:19 +00:00
mir Rollup merge of #137671 - meithecatte:discoverable-dump-mir, r=Nadrieril 2025-02-26 19:03:59 +01:00
query Rollup merge of #137780 - samueltardieu:push-kxorztnkqnsz, r=lcnr 2025-02-28 21:42:05 +08:00
thir Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
traits Change span field accesses to method calls 2025-02-24 14:22:31 +01:00
ty Rollup merge of #137617 - BoxyUwU:generic_const_parameter_types, r=lcnr 2025-03-01 11:33:58 +01:00
util Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
arena.rs intern valtrees 2025-02-13 00:38:17 +01:00
error.rs Teach structured errors to display short Ty 2025-02-25 16:56:03 +00:00
lib.rs Rollup merge of #137109 - bend-n:knife, r=oli-obk 2025-02-24 18:46:35 -05:00
lint.rs Move methods from Map to TyCtxt, part 3. 2025-02-21 14:31:09 +11:00
macros.rs Make fewer crates depend on rustc_ast_ir 2025-02-19 07:06:54 +00:00
metadata.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obk 2025-02-23 00:16:19 +01:00
values.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00