Function inactiveUnionField [src]

Prototype

pub fn inactiveUnionField(active: anytype, accessed: @TypeOf(active)) noreturn

Parameters

accessed: @TypeOf(active)

Source

pub fn inactiveUnionField(active: anytype, accessed: @TypeOf(active)) noreturn { _ = accessed; call("access of inactive union field", null); }