rust/tests/ui/generic-const-items
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
..
assoc-const-AnonConst-ice-108220.rs
assoc-const-missing-type.rs Remove diagnostic_only_typeck and fix placeholder suggestion for const/static 2025-01-02 23:39:16 +00:00
assoc-const-missing-type.stderr Remove diagnostic_only_typeck and fix placeholder suggestion for const/static 2025-01-02 23:39:16 +00:00
assoc-const-no-infer-ice-115806.rs
assoc-const-no-infer-ice-115806.stderr
associated-const-equality.rs
basic.rs
compare-impl-item.rs
compare-impl-item.stderr
const-trait-impl.rs Yeet effects feature 2024-11-03 18:59:31 +00:00
def-site-eval.fail.stderr Shorten span of panic failures in const context 2025-02-28 16:28:41 +00:00
def-site-eval.rs GCI: Don't try to collect mono items inside overly generic free const items 2025-01-28 04:00:37 +01:00
def-site-mono.rs GCI: Don't try to collect mono items inside overly generic free const items 2025-01-28 04:00:37 +01:00
duplicate-where-clause.rs
duplicate-where-clause.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
elided-lifetimes.rs fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
elided-lifetimes.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
evaluatable-bounds.fixed
evaluatable-bounds.rs
evaluatable-bounds.stderr
feature-gate-generic_const_items.rs
feature-gate-generic_const_items.stderr
hkl_where_bounds.rs
inference-failure.rs
inference-failure.stderr
misplaced-where-clause.fixed
misplaced-where-clause.rs
misplaced-where-clause.stderr
parameter-defaults.rs
parameter-defaults.stderr
recursive.rs improve diagnostics for const eval query overflow 2025-01-06 09:43:05 +01:00
recursive.stderr improve diagnostics for const eval query overflow 2025-01-06 09:43:05 +01:00
reference-outlives-referent.rs
reference-outlives-referent.stderr
trivially-unsatisfied-bounds-0.rs
trivially-unsatisfied-bounds-0.stderr
trivially-unsatisfied-bounds-1.rs
trivially-unsatisfied-bounds-1.stderr
unsatisfied-bounds.rs
unsatisfied-bounds.stderr Add trait diff highlighting logic and use it in E0277 2024-11-02 03:08:04 +00:00
unsatisfied-evaluatable-bounds.rs
unsatisfied-evaluatable-bounds.stderr
unsatisfied-outlives-bounds.rs
unsatisfied-outlives-bounds.stderr
wfcheck_err_leak_issue_118179.rs fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
wfcheck_err_leak_issue_118179.stderr Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00