summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr')
-rw-r--r--tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr b/tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr
new file mode 100644
index 000000000..b58da19c1
--- /dev/null
+++ b/tests/ui/feature-gates/feature-gate-explicit_tail_calls.stderr
@@ -0,0 +1,21 @@
+error[E0658]: `become` expression is experimental
+ --> $DIR/feature-gate-explicit_tail_calls.rs:2:5
+ |
+LL | become bottom();
+ | ^^^^^^^^^^^^^^^
+ |
+ = note: see issue #112788 <https://github.com/rust-lang/rust/issues/112788> for more information
+ = help: add `#![feature(explicit_tail_calls)]` to the crate attributes to enable
+
+error[E0658]: `become` expression is experimental
+ --> $DIR/feature-gate-explicit_tail_calls.rs:6:5
+ |
+LL | become you();
+ | ^^^^^^^^^^^^
+ |
+ = note: see issue #112788 <https://github.com/rust-lang/rust/issues/112788> for more information
+ = help: add `#![feature(explicit_tail_calls)]` to the crate attributes to enable
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0658`.