summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2025-07-30 19:57:32 +0000
committerAlona Enraght-Moony <code@alona.page>2025-07-30 19:57:32 +0000
commita33e084afe698e0a025211abd6dc1c9a4bb22e9d (patch)
treefc39d672426c2ec67b5acc689a6d2285f7047207 /tests
parent1a515e69490cdc3cee5325c4fc8d18baa502f38a (diff)
downloadrust-a33e084afe698e0a025211abd6dc1c9a4bb22e9d.tar.gz
rust-a33e084afe698e0a025211abd6dc1c9a4bb22e9d.zip
rustdoc-json: Move `#[macro_export]` from `Other` to it's own variant
Diffstat (limited to 'tests')
-rw-r--r--tests/rustdoc-json/attrs/macro_export.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-json/attrs/macro_export.rs b/tests/rustdoc-json/attrs/macro_export.rs
index 1472aabb6ff..5d487cf6a56 100644
--- a/tests/rustdoc-json/attrs/macro_export.rs
+++ b/tests/rustdoc-json/attrs/macro_export.rs
@@ -1,7 +1,7 @@
 //@ compile-flags: --document-private-items
 
 //@ set exported_id = "$.index[?(@.name=='exported')].id"
-//@ is "$.index[?(@.name=='exported')].attrs" '[{"other": "#[macro_export]"}]'
+//@ is "$.index[?(@.name=='exported')].attrs" '["macro_export"]'
 //@ is "$.index[?(@.name=='exported')].visibility" '"public"'
 
 #[macro_export]
@@ -19,7 +19,7 @@ macro_rules! not_exported {
 //@ set module_id = "$.index[?(@.name=='module')].id"
 pub mod module {
     //@ set exported_from_mod_id = "$.index[?(@.name=='exported_from_mod')].id"
-    //@ is "$.index[?(@.name=='exported_from_mod')].attrs" '[{"other": "#[macro_export]"}]'
+    //@ is "$.index[?(@.name=='exported_from_mod')].attrs" '["macro_export"]'
     //@ is "$.index[?(@.name=='exported_from_mod')].visibility" '"public"'
     #[macro_export]
     macro_rules! exported_from_mod {