remove outdated *First autodiff variants for higher-order ad

This commit is contained in:
Manuel Drehwald 2025-02-10 01:35:53 -05:00
parent 1221cff551
commit 061abbc369
3 changed files with 6 additions and 22 deletions

View file

@ -916,8 +916,6 @@ fn autodiff_attrs(tcx: TyCtxt<'_>, id: DefId) -> Option<AutoDiffAttrs> {
let mode = match mode.as_str() {
"Forward" => DiffMode::Forward,
"Reverse" => DiffMode::Reverse,
"ForwardFirst" => DiffMode::ForwardFirst,
"ReverseFirst" => DiffMode::ReverseFirst,
_ => {
span_bug!(mode.span, "rustc_autodiff attribute contains invalid mode");
}