diff options
Diffstat (limited to 'tests/rustdoc/range-arg-pattern.rs')
-rw-r--r-- | tests/rustdoc/range-arg-pattern.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc/range-arg-pattern.rs b/tests/rustdoc/range-arg-pattern.rs new file mode 100644 index 000000000..bdbcc47c9 --- /dev/null +++ b/tests/rustdoc/range-arg-pattern.rs @@ -0,0 +1,5 @@ +#![crate_name = "foo"] + +// @has foo/fn.f.html +// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn f(_: u8)' +pub fn f(0u8..=255: u8) {} |