diff options
| author | bors <bors@rust-lang.org> | 2021-10-18 09:52:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-18 09:52:13 +0000 |
| commit | 09c42c45858d5f3aedfa670698275303a3d19afa (patch) | |
| tree | 079a1e62911df8b2cbdb36319a133b41ae8094d0 /src/test/rustdoc-json | |
| parent | 7eda9439636b4b56c74349b7309aff8109702e86 (diff) | |
| parent | 7b9189aef301bd0e6cb2ec50835d3ce15eee051f (diff) | |
| download | rust-1.56.0.tar.gz rust-1.56.0.zip | |
Auto merge of #90004 - pietroalbini:stable-next, r=pietroalbini 1.56.0
Rust 1.56.0 stable release This PR bumps 1.56.0 to the stable channel. This also includes a backport for: * Latest changes to the release notes * #89867 r? `@ghost` cc `@rust-lang/release`
Diffstat (limited to 'src/test/rustdoc-json')
| -rw-r--r-- | src/test/rustdoc-json/reexport/macro.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/rustdoc-json/reexport/macro.rs b/src/test/rustdoc-json/reexport/macro.rs new file mode 100644 index 00000000000..b86614ffbad --- /dev/null +++ b/src/test/rustdoc-json/reexport/macro.rs @@ -0,0 +1,17 @@ +// edition:2018 + +#![no_core] +#![feature(no_core)] + +// @count macro.json "$.index[*][?(@.name=='macro')].inner.items[*]" 2 + +// @set repro_id = macro.json "$.index[*][?(@.name=='repro')].id" +// @has - "$.index[*][?(@.name=='macro')].inner.items[*]" $repro_id +#[macro_export] +macro_rules! repro { + () => {}; +} + +// @set repro2_id = macro.json "$.index[*][?(@.inner.name=='repro2')].id" +// @has - "$.index[*][?(@.name=='macro')].inner.items[*]" $repro2_id +pub use crate::repro as repro2; |
