Improve #45546, by changing the capture to be variant instead of type. Release Notes: - Improved Rust enum variant highlighting as variant instead of type. Before (note variants have the same style as `Foo`): <img width="276" height="162" alt="image" src="https://github.com/user-attachments/assets/fa0d8f48-a286-4a8d-b89d-269cb1657e55" /> After: <img width="276" height="162" alt="image" src="https://github.com/user-attachments/assets/c442494a-7550-481a-a8b9-f2d944a67868" />