Files
rust/compiler/rustc_span/src
Jonathan Brouwer fd4b1d563d Rollup merge of #159058 - khyperia:macroless_generic_const_args, r=BoxyUwU
implement #![feature(macroless_generic_const_args)]

tracking issue: https://github.com/rust-lang/rust/issues/159006

lots of description of what is happening here in the tracking issue, not gonna copypaste it into here :)

the test situation is that after discussion with boxy of whether our mgca tests should be:

- keep them under only `min_generic_const_args`, and add `direct_const_arg!()` where it's needed
- keep the code contents as-is, and add `#![feature(macroless_generic_const_args)]` where it's needed

the second seems more desirable, so that's what I did. There are still quite a few tests that only have `min_generic_const_args` without `macroless_generic_const_args` (140 of them, to be exact - `rg --files-without-match macroless_generic_const_args $(rg -g '*.rs' --files-with-matches min_generic_const_args tests) | wc -l`, and now 90 with `macroless_generic_const_args`)

r? @BoxyUwU
2026-07-21 12:24:55 +02:00
..
2026-07-14 08:23:57 -05:00
…