We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af2ce8b commit f0d9dd7Copy full SHA for f0d9dd7
tests/ui/explicit-tail-calls/two-phase.rs
@@ -0,0 +1,11 @@
1
+// regression test for <https://github.com/rust-lang/rust/issues/112788>
2
+//@ check-pass
3
+#![expect(incomplete_features)]
4
+#![feature(explicit_tail_calls)]
5
+
6
+fn f(x: &mut ()) {
7
+ let _y = String::new();
8
+ become f(x);
9
+}
10
11
+fn main() {}
0 commit comments