aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/method_generics_conflict.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-21 12:23:09 +0100
committerMartin Fischer <martin@push-f.com>2021-11-21 19:52:57 +0100
commit23fcd4ef079ad2b4aed69b4f363cbb9e7102c4ed (patch)
tree2fbf27f77274df35b31504e9b6cde5ed0a53455c /ui-tests/src/bin/method_generics_conflict.rs
parent57641e00d6ed1fd7689c3079abb10f67d5387143 (diff)
add ui tests (inspired by trybuild)
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() {}