summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/where-sized.rs
blob: c0c085e6ac72500d63deb2848063d4f54654b136 (plain)
1
2
3
4
5
6
#![crate_name = "foo"]

// @has foo/fn.foo.html
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'pub fn foo<X, Y: ?Sized>(_: &X)'
// @has - '//div[@class="item-decl"]/pre[@class="rust"]' 'where X: ?Sized,'
pub fn foo<X, Y: ?Sized>(_: &X) where X: ?Sized {}