summaryrefslogtreecommitdiff
path: root/src/ir/analysis/derive_debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/analysis/derive_debug.rs')
-rw-r--r--src/ir/analysis/derive_debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/analysis/derive_debug.rs b/src/ir/analysis/derive_debug.rs
index 8f2be22a..8990d1cc 100644
--- a/src/ir/analysis/derive_debug.rs
+++ b/src/ir/analysis/derive_debug.rs
@@ -208,7 +208,7 @@ impl<'ctx, 'gen> MonotoneFramework for CannotDeriveDebug<'ctx, 'gen> {
);
if info.kind() == CompKind::Union {
- if self.ctx.options().rust_features().untagged_union() {
+ if self.ctx.options().unstable_rust {
trace!(" cannot derive Debug for Rust unions");
return self.insert(id);
}