aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/qualified_self_opt.rs
blob: 5de8b71ba5570bccc6fc8f419f38483ebbedf735 (plain)
1
2
3
4
5
6
7
8
9
10
trait Foo {
    type X: Into<String>;
}

#[dynamize::dynamize]
trait Bar: Foo {
    fn test(&self) -> Option<<Self as Foo>::X>;
}

fn main() {}