mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
7f6dfb451a
Record span of `const` kw in GenericParamKind Context: this is needed for a fix of https://github.com/rust-lang/rustfmt/issues/4263, which currently records the span of a const generic param incorrectly because the location of the `const` kw is not known. I am not sure how to add tests for this; any guidance in how to do so would be appreciated 🙂