diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-06-21 14:03:08 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-06-24 11:08:41 +0200 |
| commit | 1b67035579fc6157ca2f3fb8b7e6071ff6d888bc (patch) | |
| tree | e53cb08e1dfa396dd2abd4ffbb91aa6826a463d9 /tests/rustdoc/macro-higher-kinded-function.rs | |
| parent | d3ec92e16e7e78c273c0f996cad5122ce5a6cdd6 (diff) | |
| download | rust-1b67035579fc6157ca2f3fb8b7e6071ff6d888bc.tar.gz rust-1b67035579fc6157ca2f3fb8b7e6071ff6d888bc.zip | |
Update `tests/rustdoc` to new test syntax
Diffstat (limited to 'tests/rustdoc/macro-higher-kinded-function.rs')
| -rw-r--r-- | tests/rustdoc/macro-higher-kinded-function.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rustdoc/macro-higher-kinded-function.rs b/tests/rustdoc/macro-higher-kinded-function.rs index a45ef37a7fc..f14125d1309 100644 --- a/tests/rustdoc/macro-higher-kinded-function.rs +++ b/tests/rustdoc/macro-higher-kinded-function.rs @@ -10,11 +10,11 @@ macro_rules! gen { } } -// @has 'foo/struct.Providers.html' -// @has - '//*[@class="rust item-decl"]//code' "pub a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8," -// @has - '//*[@class="rust item-decl"]//code' "pub b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16," -// @has - '//*[@id="structfield.a"]/code' "a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8" -// @has - '//*[@id="structfield.b"]/code' "b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16" +//@ has 'foo/struct.Providers.html' +//@ has - '//*[@class="rust item-decl"]//code' "pub a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8," +//@ has - '//*[@class="rust item-decl"]//code' "pub b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16," +//@ has - '//*[@id="structfield.a"]/code' "a: for<'tcx> fn(_: TyCtxt<'tcx>, _: u8) -> i8" +//@ has - '//*[@id="structfield.b"]/code' "b: for<'tcx> fn(_: TyCtxt<'tcx>, _: u16) -> i16" gen! { (a, 'tcx, [u8], [i8]) (b, 'tcx, [u16], [i16]) |
