mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
7 lines
220 B
Rust
7 lines
220 B
Rust
#![crate_name = "foo"]
|
|
|
|
// @has foo/fn.foo.html
|
|
// @has - '//*[@class="rust fn"]' 'pub fn foo<X, Y: ?Sized>(_: &X)'
|
|
// @has - '//*[@class="rust fn"]' 'where X: ?Sized,'
|
|
pub fn foo<X, Y: ?Sized>(_: &X) where X: ?Sized {}
|