mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
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