rust/tests/ui/explicit-tail-calls
Folkert de Vries d28c31a600
c-variadic: check that c-variadic functions cannot be tail-called
as far as I can see this was not tested, though the error message was already implemented
2025-09-13 21:05:12 +02:00
..
become-macro.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-operator.fixed use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-operator.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-operator.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
become-outside.array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
become-outside.constant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
become-outside.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-trait-fn.rs fix tail call checks wrt #[track_caller] 2025-02-06 21:06:51 +01:00
become-uncallable.fixed use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-uncallable.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
become-uncallable.stderr implement checks for tail calls 2024-11-29 04:44:41 +01:00
c-variadic.rs c-variadic: check that c-variadic functions cannot be tail-called 2025-09-13 21:05:12 +02:00
c-variadic.stderr c-variadic: check that c-variadic functions cannot be tail-called 2025-09-13 21:05:12 +02:00
callee_is_ref.fixed properly reject tail calls to &FnPtr or &FnDef 2025-08-04 09:09:49 +02:00
callee_is_ref.rs properly reject tail calls to &FnPtr or &FnDef 2025-08-04 09:09:49 +02:00
callee_is_ref.stderr properly reject tail calls to &FnPtr or &FnDef 2025-08-04 09:09:49 +02:00
callee_is_track_caller.rs fix tail calls to #[track_caller] functions 2025-08-13 02:26:52 +02:00
callee_is_track_caller.stderr fix tail calls to #[track_caller] functions 2025-08-13 02:26:52 +02:00
callee_is_track_caller_polymorphic.rs fix tail calls to #[track_caller] functions 2025-08-13 02:26:52 +02:00
callee_is_track_caller_polymorphic.stderr fix tail calls to #[track_caller] functions 2025-08-13 02:26:52 +02:00
callee_is_weird.rs properly reject tail calls to &FnPtr or &FnDef 2025-08-04 09:09:49 +02:00
callee_is_weird.stderr properly reject tail calls to &FnPtr or &FnDef 2025-08-04 09:09:49 +02:00
caller-lifetime-presence.rs fixed diagnostic 2025-08-14 17:28:50 +00:00
caller-lifetime-presence.stderr fixed diagnostic 2025-08-14 17:28:50 +00:00
caller_is_track_caller.rs fix tail call checks wrt #[track_caller] 2025-02-06 21:06:51 +01:00
caller_is_track_caller.stderr fix tail call checks wrt #[track_caller] 2025-02-06 21:06:51 +01:00
closure.fixed use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
closure.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
closure.stderr implement checks for tail calls 2024-11-29 04:44:41 +01:00
constck.rs Note def descr in NonConstFunctionCall 2024-12-23 22:15:32 +00:00
constck.stderr Note def descr in NonConstFunctionCall 2024-12-23 22:15:32 +00:00
ctfe-arg-bad-borrow.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
ctfe-arg-bad-borrow.stderr don't drop types with no drop glue when tailcalling 2025-01-24 06:45:19 +01:00
ctfe-arg-good-borrow.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
ctfe-arg-move.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
ctfe-collatz-multi-rec.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
ctfe-id-unlimited.return.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
ctfe-id-unlimited.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
ctfe-tail-call-panic.rs const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
ctfe-tail-call-panic.stderr const-eval error: always say in which item the error occurred 2025-06-07 13:42:30 +02:00
drop-order.rs explicit tail call tests with indirect operands in LLVM, small test for indexing into a function table as described by RFC 3407 2025-08-06 18:13:56 -06:00
higher-ranked-arg.rs Anonymize binders in tail call sig 2025-08-04 15:31:50 +00:00
in-closure.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
in-closure.stderr implement checks for tail calls 2024-11-29 04:44:41 +01:00
indexer.rs explicit tail call tests with indirect operands in LLVM, small test for indexing into a function table as described by RFC 3407 2025-08-06 18:13:56 -06:00
infinite-recursion-in-ctfe.rs detect infinite recursion with tail calls in ctfe 2025-07-31 23:59:55 +02:00
infinite-recursion-in-ctfe.stderr detect infinite recursion with tail calls in ctfe 2025-07-31 23:59:55 +02:00
intrinsics.rs forbid tail calling intrinsics 2025-08-03 21:21:39 +02:00
intrinsics.stderr forbid tail calling intrinsics 2025-08-03 21:21:39 +02:00
recursion-etc.rs Implement support for explicit tail calls in the MIR block builders and the LLVM codegen backend. 2025-07-26 01:02:29 +02:00
ret-ty-borrowck-constraints.rs Enforce tail call type is related to body return type in borrowck 2025-08-04 16:35:58 +00:00
ret-ty-borrowck-constraints.stderr Enforce tail call type is related to body return type in borrowck 2025-08-04 16:35:58 +00:00
ret-ty-hr-mismatch.rs Defer tail call ret ty equality to check_tail_calls 2025-08-19 20:16:19 +00:00
ret-ty-hr-mismatch.stderr Defer tail call ret ty equality to check_tail_calls 2025-08-19 20:16:19 +00:00
ret-ty-modulo-anonymization.rs Defer tail call ret ty equality to check_tail_calls 2025-08-19 20:16:19 +00:00
return-lifetime-sub.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
return-mismatches.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
return-mismatches.stderr Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
signature-mismatch.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
signature-mismatch.stderr implement checks for tail calls 2024-11-29 04:44:41 +01:00
two-phase.rs add a regression test 2025-01-24 18:33:00 +01:00
unsafeck.rs use expect(incomplete_feature) instead of allow in tail call tests 2024-11-29 04:44:41 +01:00
unsafeck.stderr Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00