diff options
Diffstat (limited to 'ui-tests/src/bin/qualified_self_opt.rs')
-rw-r--r-- | ui-tests/src/bin/qualified_self_opt.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui-tests/src/bin/qualified_self_opt.rs b/ui-tests/src/bin/qualified_self_opt.rs new file mode 100644 index 0000000..5de8b71 --- /dev/null +++ b/ui-tests/src/bin/qualified_self_opt.rs @@ -0,0 +1,10 @@ +trait Foo { + type X: Into<String>; +} + +#[dynamize::dynamize] +trait Bar: Foo { + fn test(&self) -> Option<<Self as Foo>::X>; +} + +fn main() {} |