]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/issue-70944.rs
2 // Regression test of #70944, should compile fine.
10 pub trait Foo
: Index
<KeyA
> + Index
<KeyB
> + Index
<KeyC
> {}
11 pub trait FooBuilder
{
13 fn inner(&self) -> &Self::Inner
;
16 pub fn do_stuff(foo
: &impl FooBuilder
) {
17 let inner
= foo
.inner();