]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/relate_tys/opaque-hrtb.rs
4 impl<T
> MyTrait
<T
> for Foo {}
6 fn bar
<Input
>() -> impl MyTrait
<Input
> {
10 fn foo() -> impl for<'a
> MyTrait
<&'a
str> {
11 bar() //~ ERROR implementation of `MyTrait` is not general enough