Mark code only used in nightly as nightly only

This commit is contained in:
Ana Hobden
2026-03-27 13:24:09 -07:00
parent fda6d37bb8
commit 72825b9934
+1
View File
@@ -35,6 +35,7 @@ pub fn unit(self) -> Option<Reg> {
/// Try to combine two `HomogeneousAggregate`s, e.g. from two fields in
/// the same `struct`. Only succeeds if only one of them has any data,
/// or both units are identical.
#[cfg(feature = "nightly")]
fn merge(self, other: HomogeneousAggregate) -> Result<HomogeneousAggregate, Heterogeneous> {
match (self, other) {
(x, HomogeneousAggregate::NoData) | (HomogeneousAggregate::NoData, x) => Ok(x),