aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-25 16:56:44 +0100
committerMartin Fischer <martin@push-f.com>2021-11-26 11:45:53 +0100
commit74bcf35fc83c57fd7e9a31639d7dae31d4d9a050 (patch)
tree0084ecfa9f464505bbb3bfaa7b3899c11587dd2d /ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs
parent8046190e8f537407210fb87acbfe96d4084d58da (diff)
support dynamized supertraits via attribute
Diffstat (limited to 'ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs')
-rw-r--r--ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs b/ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs
new file mode 100644
index 0000000..5b298ea
--- /dev/null
+++ b/ui-tests/src/bin/attr_dynamized_no_such_supertrait.rs
@@ -0,0 +1,5 @@
+#[dynamize::dynamize]
+#[dynamized(Foo)]
+trait Trait {}
+
+fn main() {}