Files
rust/tests/ui/const-generics
Matthias Krüger 7e9b67d355 Rollup merge of #148716 - camelid:finish-type_const, r=BoxyUwU
mgca: Finish implementation of `#[type_const]`

tracking issue: rust-lang/rust#132980
fixes rust-lang/rust#140729
fixes rust-lang/rust#140860

- **Fix `#[type_const]` attribute placement validation**
- **Perform WF-checking on type_const RHS's**
- **Check type_const type is ConstParamTy_ and that RHS matches it**
- **Check that impls of `#[type_const]` consts also have the attr**

r? ```@BoxyUwU```
2025-11-09 17:37:07 +01:00
..
2025-11-03 16:24:36 +00:00
2025-11-08 07:37:15 +01:00
2025-09-08 22:07:43 -04:00
2023-12-24 01:58:13 +08:00
2024-09-07 09:23:28 +08:00
2023-07-27 15:51:02 +00:00
2023-04-07 11:18:07 -07:00
2023-04-07 11:18:07 -07:00
2025-07-31 21:25:49 +05:00
2025-07-31 21:25:49 +05:00