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