mirror of
https://git.proxmox.com/git/rustc
synced 2025-10-14 18:30:47 +00:00
8 lines
111 B
Rust
8 lines
111 B
Rust
// check-pass
|
|
|
|
fn f<T: ?Sized>(_: impl AsRef<T>, _: impl AsRef<T>) {}
|
|
|
|
fn main() {
|
|
f::<[u8]>("a", b"a");
|
|
}
|