rust/compiler/rustc_resolve/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
..
late Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
build_reduced_graph.rs convert all_macro_rules from hashmap to hashset 2025-02-21 15:29:17 +03:00
check_unused.rs Run clippy --fix for unnecessary_map_or lint 2025-01-19 19:15:00 +00:00
def_collector.rs Handle asm const similar to inline const 2025-02-26 19:27:19 +00:00
diagnostics.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
effective_visibilities.rs rustc_resolve: reduce rightwards drift with let..else 👉💨 2025-01-21 13:42:32 +00:00
errors.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
ident.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
imports.rs Rollup merge of #137529 - klensy:unused3, r=lcnr 2025-02-26 04:15:04 +01:00
late.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
lib.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
macros.rs Introduce new-style attribute parsers for several attributes 2025-02-24 14:31:17 +01:00
rustdoc.rs rustdoc: improve refdef handling in the unresolved link lint 2025-02-15 12:21:35 -07:00