diff options
| author | Michael Howell <michael@notriddle.com> | 2023-02-16 15:32:38 -0700 | 
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-02-16 18:16:09 -0700 | 
| commit | 4de9c6d4913a02b5ce19a14e9e2ab0c46ceea771 (patch) | |
| tree | 4a8d56f30ffd5c60f68262fddb975dbef95ca382 /tests/rustdoc-js/macro-search.rs | |
| parent | c5d1b3ea9665e77e3af2f17b311bf65469eedc19 (diff) | |
| download | rust-4de9c6d4913a02b5ce19a14e9e2ab0c46ceea771.tar.gz rust-4de9c6d4913a02b5ce19a14e9e2ab0c46ceea771.zip  | |
rustdoc: search by macro when query ends with `!`
Related to #96399
Diffstat (limited to 'tests/rustdoc-js/macro-search.rs')
| -rw-r--r-- | tests/rustdoc-js/macro-search.rs | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-js/macro-search.rs b/tests/rustdoc-js/macro-search.rs new file mode 100644 index 00000000000..dc397490cf5 --- /dev/null +++ b/tests/rustdoc-js/macro-search.rs @@ -0,0 +1,10 @@ +#[macro_export] +macro_rules! abracadabra { + () => {} +} +#[macro_export] +macro_rules! abracadabra_b { + () => {} +} +pub fn abracadabra() {} +pub fn abracadabra_c() {}  | 
