aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/method_generics_conflict.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui-tests/src/bin/method_generics_conflict.rs')
-rw-r--r--ui-tests/src/bin/method_generics_conflict.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui-tests/src/bin/method_generics_conflict.rs b/ui-tests/src/bin/method_generics_conflict.rs
new file mode 100644
index 0000000..e76e05f
--- /dev/null
+++ b/ui-tests/src/bin/method_generics_conflict.rs
@@ -0,0 +1,7 @@
+#[dynamize::dynamize]
+trait Trait {
+ fn a<A>(&self, a: A);
+ fn b<A: std::fmt::Display>(&self, a: A);
+}
+
+fn main() {}