1 // Regression test for <https://github.com/rust-lang/rust/issues/98002>.
3 // Keywords should not be generated in rustdoc JSON output and this test
6 #![feature(rustdoc_internals)]
9 // @!has "$.index[*][?(@.name=='match')]"
10 // @has "$.index[*][?(@.name=='foo')]"
12 #[doc(keyword = "match")]
16 // @!has "$.index[*][?(@.name=='hello')]"
17 // @!has "$.index[*][?(@.name=='bar')]"
18 #[doc(keyword = "hello")]