]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/where-sized.rs
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se
[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 {}