diff options
| author | Joel Wejdenstål <joel.wejdenstal@gmail.com> | 2025-07-25 21:21:42 +0200 |
|---|---|---|
| committer | Joel Wejdenstål <joel.wejdenstal@gmail.com> | 2025-07-26 01:02:29 +0200 |
| commit | a448837045326d7c33059dc3aa2d1d87529dcf3d (patch) | |
| tree | 8b14dc9670550379eb0fe6cfdcc31aeeae73f27b /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 430d6eddfc6a455ca4a0137c0822a982cccd3b2b (diff) | |
| download | rust-a448837045326d7c33059dc3aa2d1d87529dcf3d.tar.gz rust-a448837045326d7c33059dc3aa2d1d87529dcf3d.zip | |
Implement support for explicit tail calls in the MIR block builders and the LLVM codegen backend.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index 0aa16bd88b4..b252c39c0c0 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/src/errors.rs @@ -19,3 +19,7 @@ pub(crate) struct CopyBitcode { pub(crate) struct LtoBitcodeFromRlib { pub gcc_err: String, } + +#[derive(Diagnostic)] +#[diag(codegen_gcc_explicit_tail_calls_unsupported)] +pub(crate) struct ExplicitTailCallsUnsupported; |
