Validation: a context member's field name is read by the tests alone

With the old executor's list and `named_member` gone, `Member::name` is read only by the
enables tests (their messages and the opened-chains rendering), so it is `#[cfg(test)]`, as
`Member::registry` is. Clippy -D warnings refused it as dead in job m3-max-65544 (all
three configurations).

Left for lane unshipped's item (5) (the robustBufferAccess / robustBufferAccess2 choice):
coverage/tier_table.rs still compiles stated profiles for its robustness containment legs;
this move does not change it.

Verification: none at this commit; its compile job follows.
This commit is contained in:
Anees Iqbal committed 2026-11-21 19:23:41 -08:00
1 parent a2ad41850e
commit af97fa1bee
1 file changed
+4 -1
@@ -842,7 +842,9 @@ impl FeatureChain {
/// One `VkBool32` member of a [`FeatureChain`] structure.
pub(super) struct Member {
pub(super) structure: Structure,
/// The member's field in its structure (ash's name for the `VkBool32`).
/// The member's field in its structure (ash's name for the `VkBool32`), which the tests
/// name members by.
#[cfg(test)]
pub(super) name: &'static str,
/// The engine's name for the member, when its vocabulary has one.
pub(super) feature: Option<VkFeature>,
@@ -876,6 +878,7 @@ macro_rules! members {
/// feature and names what was enabled.
pub(super) const MEMBERS: &[Member] = &[$(Member {
structure: Structure::$structure,
#[cfg(test)]
name: stringify!($member),
feature: $feature,
#[cfg(test)]