summaryrefslogtreecommitdiffstats
path: root/tests/incremental/issue-60629.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/incremental/issue-60629.rs')
-rw-r--r--tests/incremental/issue-60629.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/incremental/issue-60629.rs b/tests/incremental/issue-60629.rs
new file mode 100644
index 000000000..4807af4b3
--- /dev/null
+++ b/tests/incremental/issue-60629.rs
@@ -0,0 +1,10 @@
+// revisions:rpass1 rpass2
+
+struct A;
+
+#[cfg(rpass2)]
+impl From<A> for () {
+ fn from(_: A) {}
+}
+
+fn main() {}