Rollup merge of #162097 - mejrs:instrumentfnattr, r=JonathanBrouwer

Deduplicate `InstrumentFnAttr`

cc @pmur

Instead of having a `Default` variant (which can't be specified in the attribute, it only does on/off), use an Option to model "no attribute used".
This commit is contained in:
Jonathan Brouwer
2026-09-01 13:27:46 +02:00
committed by GitHub
7 changed files with 30 additions and 40 deletions

View File

@@ -3799,6 +3799,7 @@ dependencies = [
"rustc-demangle",
"rustc_abi",
"rustc_ast",
"rustc_attr_ir",
"rustc_codegen_ssa",
"rustc_crate_store",
"rustc_data_structures",
@@ -3838,6 +3839,7 @@ dependencies = [
"rustc_abi",
"rustc_arena",
"rustc_ast",
"rustc_attr_ir",
"rustc_attr_parsing",
"rustc_crate_store",
"rustc_data_structures",