]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/trait-bounds/issue-95640.rs
2 // compile-flags:-Zmir-opt-level=3
8 fn foo(self) -> Option
<Self::It
>;
11 impl<'a
> Tr
for &'a D
{
13 fn foo(self) -> Option
<()> {
21 F
: Fn(<&D
as Tr
>::It
),
24 while let Some(i
) = d
.foo() {