diff options
| author | Marcelo DomÃnguez <dmmarcelo27@gmail.com> | 2025-05-20 12:36:12 +0000 |
|---|---|---|
| committer | Marcelo DomÃnguez <dmmarcelo27@gmail.com> | 2025-05-21 07:24:43 +0000 |
| commit | 8917ff602446372e45abed7ab3a58dc879638b1c (patch) | |
| tree | 8eeb523bccf6f98e54c5be5eeed680ec9248d33a /tests/pretty | |
| parent | 8dd62e8188d08baeb5d28cb221241cb61a65e532 (diff) | |
| download | rust-8917ff602446372e45abed7ab3a58dc879638b1c.tar.gz rust-8917ff602446372e45abed7ab3a58dc879638b1c.zip | |
Update generic tests
Diffstat (limited to 'tests/pretty')
| -rw-r--r-- | tests/pretty/autodiff/autodiff_forward.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pretty/autodiff/autodiff_forward.rs b/tests/pretty/autodiff/autodiff_forward.rs index 181b6ebc770..e23a1b3e241 100644 --- a/tests/pretty/autodiff/autodiff_forward.rs +++ b/tests/pretty/autodiff/autodiff_forward.rs @@ -64,7 +64,7 @@ pub fn f9() { } // Make sure we can handle generics -#[autodiff(d_square, Reverse, Duplicated, Active)] +#[autodiff_reverse(d_square, Duplicated, Active)] pub fn f10<T: std::ops::Mul<Output = T> + Copy>(x: &T) -> T { *x * *x } |
