about summary refs log tree commit diff
path: root/tests/ui/impl-trait/explicit-generic-args-with-impl-trait/issue-87718.rs
blob: 9218ebf86df8886b721772c270af876048af5708 (plain)
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");
}