about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-08-19 19:45:31 +0800
committerGitHub <noreply@github.com>2025-08-19 19:45:31 +0800
commit62227334ae04429f4b1196c8f852d666ae56204b (patch)
tree109b7c7217a43a11d9731ee1931a3dd6e35bd500 /compiler/rustc_builtin_macros
parent99de64bac7d4f7f4a07a1ac38cd4457f3480ee1a (diff)
parentf94a0d0ca406002e41d3b69aa5ec5a7f5a8e7fa6 (diff)
downloadrust-62227334ae04429f4b1196c8f852d666ae56204b.tar.gz
rust-62227334ae04429f4b1196c8f852d666ae56204b.zip
Rollup merge of #145429 - bjorn3:codegen_fn_attrs_improvements, r=jdonszelmann
Couple of codegen_fn_attrs improvements

As noted in https://github.com/rust-lang/rust/pull/144678#discussion_r2245060329 here is no need to keep link_name and export_name separate, which the third commit fixes by merging them. The second commit removes some dead code and the first commit merges two ifs with equivalent conditions. The last commit is an unrelated change which removes an unused `feature(autodiff)`.
Diffstat (limited to 'compiler/rustc_builtin_macros')
-rw-r--r--compiler/rustc_builtin_macros/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/lib.rs b/compiler/rustc_builtin_macros/src/lib.rs
index 86a4927f390..1bcea95fbb7 100644
--- a/compiler/rustc_builtin_macros/src/lib.rs
+++ b/compiler/rustc_builtin_macros/src/lib.rs
@@ -8,7 +8,6 @@
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
 #![doc(rust_logo)]
 #![feature(assert_matches)]
-#![feature(autodiff)]
 #![feature(box_patterns)]
 #![feature(decl_macro)]
 #![feature(if_let_guard)]