1 2 3 4 5 6 7
// check-pass fn f<T: ?Sized>(_: impl AsRef<T>, _: impl AsRef<T>) {} fn main() { f::<[u8]>("a", b"a"); }