diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-01-08 11:11:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 11:11:50 +0900 |
| commit | dec3dbd36a572222ad96b9f18b39b4f916614fcd (patch) | |
| tree | b7cc49fe9e764423866cca2722830863bb0080e5 /src/test/rustdoc | |
| parent | faf5412cd164e9ebd9a890e18e1e9ebefb42038e (diff) | |
| parent | 31375d2074aeed0c6f173aa200f0bd3bf6d36756 (diff) | |
| download | rust-dec3dbd36a572222ad96b9f18b39b4f916614fcd.tar.gz rust-dec3dbd36a572222ad96b9f18b39b4f916614fcd.zip | |
Rollup merge of #80799 - jyn514:pretty-print, r=CraftSpider
Get rid of custom pretty-printing in rustdoc and use rustc_hir_pretty directly instead. Closes https://github.com/rust-lang/rust/issues/79497. r? `@CraftSpider`
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/range-arg-pattern.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/range-arg-pattern.rs b/src/test/rustdoc/range-arg-pattern.rs new file mode 100644 index 00000000000..f4cc36b1055 --- /dev/null +++ b/src/test/rustdoc/range-arg-pattern.rs @@ -0,0 +1,5 @@ +#![crate_name = "foo"] + +// @has foo/fn.f.html +// @has - '//*[@class="rust fn"]' 'pub fn f(0u8 ...255: u8)' +pub fn f(0u8...255: u8) {} |
