diff options
| author | Sa4dUs <dmmarcelo27@gmail.com> | 2025-03-10 16:05:27 +0100 |
|---|---|---|
| committer | Sa4dUs <dmmarcelo27@gmail.com> | 2025-03-11 09:37:53 +0100 |
| commit | 8546e015b4a04e9c397478ae1e27a5370d2c638b (patch) | |
| tree | 3c2f226543f47325287cb79013747293acd1edcd /compiler/rustc_builtin_macros/src | |
| parent | 33f9a491eb97af0cc72df70fd10724eda2453d45 (diff) | |
| download | rust-8546e015b4a04e9c397478ae1e27a5370d2c638b.tar.gz rust-8546e015b4a04e9c397478ae1e27a5370d2c638b.zip | |
Add individual activity span availability FIXME
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/autodiff.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/src/autodiff.rs b/compiler/rustc_builtin_macros/src/autodiff.rs index 6707ab8edde..cae806c6da7 100644 --- a/compiler/rustc_builtin_macros/src/autodiff.rs +++ b/compiler/rustc_builtin_macros/src/autodiff.rs @@ -586,6 +586,8 @@ mod llvm_enzyme { // // Error handling: If the user provides an invalid configuration (incorrect numbers, types, or // both), we emit an error and return the original signature. This allows us to continue parsing. + // FIXME(Sa4dUs): make individual activities' span available so errors + // can point to only the activity instead of the entire attribute fn gen_enzyme_decl( ecx: &ExtCtxt<'_>, sig: &ast::FnSig, |
