summaryrefslogtreecommitdiffstats
path: root/tests/ui/transmutability/primitives/unit.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/transmutability/primitives/unit.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/transmutability/primitives/unit.rs b/tests/ui/transmutability/primitives/unit.rs
index 1975a61de..12eac1751 100644
--- a/tests/ui/transmutability/primitives/unit.rs
+++ b/tests/ui/transmutability/primitives/unit.rs
@@ -1,3 +1,6 @@
+// revisions: current next
+//[next] compile-flags: -Ztrait-solver=next
+
//! The unit type, `()`, should be one byte.
#![crate_type = "lib"]