Skip to content

Commit f8c75e4

Browse files
committed
Add individual activity span availability FIXME
1 parent db11ddc commit f8c75e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_builtin_macros/src/autodiff.rs

+2
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ mod llvm_enzyme {
586586
//
587587
// Error handling: If the user provides an invalid configuration (incorrect numbers, types, or
588588
// both), we emit an error and return the original signature. This allows us to continue parsing.
589+
// FIXME(Sa4dUs): make individual activities' span available so errors
590+
// can point to only the activity instead of the entire attribute
589591
fn gen_enzyme_decl(
590592
ecx: &ExtCtxt<'_>,
591593
sig: &ast::FnSig,

0 commit comments

Comments
 (0)