2017-12-17 07:08:09 -06:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
// @has foo/fn.foo.html
|
2023-01-30 12:05:12 -06:00
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'pub fn foo<X, Y: ?Sized>(_: &X)'
|
|
|
|
// @has - '//pre[@class="rust item-decl"]' 'where X: ?Sized,'
|
2017-12-17 07:08:09 -06:00
|
|
|
pub fn foo<X, Y: ?Sized>(_: &X) where X: ?Sized {}
|