summaryrefslogtreecommitdiff
path: root/src/ir/analysis/derive_debug.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-08-04 14:58:16 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-08-04 14:58:16 -0700
commit65a68cd75f40db2cd8346dbdd334cbc1737fc68c (patch)
treef6efa28618ea94b9821025c4f9c02702bdfc9355 /src/ir/analysis/derive_debug.rs
parentde180c42e52d6b9236a11ba887a6896b4ffae819 (diff)
Revert "Add --rust-target to replace --unstable-rust"
This reverts commit 0bb7b9f1c4652f63f41eba4064b79c044fd3d955. It turns out our CI stopped running test expectations in an earlier regression (from d73507e; fix incoming) and so this pull request actually introduced a bunch of failures when compiling the test expectations and running their unit tests :(
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);
}