]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/where-sized.rs
Auto merge of #107498 - JohnTitor:rollup-2i6g4uk, r=JohnTitor
[rust.git] / tests / rustdoc / where-sized.rs
1 #![crate_name = "foo"]
2
3 // @has foo/fn.foo.html
4 // @has - '//pre[@class="rust item-decl"]' 'pub fn foo<X, Y: ?Sized>(_: &X)'
5 // @has - '//pre[@class="rust item-decl"]' 'where X: ?Sized,'
6 pub fn foo<X, Y: ?Sized>(_: &X) where X: ?Sized {}