aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/method_generics_conflict.stderr
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.stderr
parent57641e00d6ed1fd7689c3079abb10f67d5387143 (diff)
add ui tests (inspired by trybuild)
Diffstat (limited to 'ui-tests/src/bin/method_generics_conflict.stderr')
-rw-r--r--ui-tests/src/bin/method_generics_conflict.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-tests/src/bin/method_generics_conflict.stderr b/ui-tests/src/bin/method_generics_conflict.stderr
new file mode 100644
index 0000000..71a7356
--- /dev/null
+++ b/ui-tests/src/bin/method_generics_conflict.stderr
@@ -0,0 +1,5 @@
+error: dynamize failure: there exists a same-named method generic with different bounds
+ --> src/bin/method_generics_conflict.rs:4:10
+ |
+4 | fn b<A: std::fmt::Display>(&self, a: A);
+ | ^