mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
8 lines
112 B
Rust
8 lines
112 B
Rust
//@ check-pass
|
|
|
|
fn f<T: ?Sized>(_: impl AsRef<T>, _: impl AsRef<T>) {}
|
|
|
|
fn main() {
|
|
f::<[u8]>("a", b"a");
|
|
}
|