diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-05-28 10:28:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-28 10:28:08 -0400 |
| commit | 7f5f29b663bd851bdedd32ca8024f89c5f984bc4 (patch) | |
| tree | 57dbbd641d3b60df4aacf88c3f230ea06e57adf9 /compiler/rustc_builtin_macros/src/errors.rs | |
| parent | 5f17779a03746af581d8867449b1627404d8cd3f (diff) | |
| parent | c6c2fde737e5d6730cc7135afd841a0afed6096e (diff) | |
| download | rust-7f5f29b663bd851bdedd32ca8024f89c5f984bc4.tar.gz rust-7f5f29b663bd851bdedd32ca8024f89c5f984bc4.zip | |
Rollup merge of #140697 - Sa4dUs:split-autodiff, r=ZuseZ4
Split `autodiff` into `autodiff_forward` and `autodiff_reverse` This PR splits `#[autodiff]` macro so `#[autodiff(df, Reverse, args)]` would become `#[autodiff_reverse(df, args)]` and `#[autodiff(df, Forward, args)]` would become `#[autodiff_forwad(df, args)]`.
Diffstat (limited to 'compiler/rustc_builtin_macros/src/errors.rs')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/errors.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_builtin_macros/src/errors.rs b/compiler/rustc_builtin_macros/src/errors.rs index 75d06a8df14..3a2e96a5e5a 100644 --- a/compiler/rustc_builtin_macros/src/errors.rs +++ b/compiler/rustc_builtin_macros/src/errors.rs @@ -181,14 +181,6 @@ mod autodiff { } #[derive(Diagnostic)] - #[diag(builtin_macros_autodiff_mode)] - pub(crate) struct AutoDiffInvalidMode { - #[primary_span] - pub(crate) span: Span, - pub(crate) mode: String, - } - - #[derive(Diagnostic)] #[diag(builtin_macros_autodiff_width)] pub(crate) struct AutoDiffInvalidWidth { #[primary_span] |
