summaryrefslogtreecommitdiff
path: root/tests/ui/resolve/issue-111312.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/issue-111312.stderr')
-rw-r--r--tests/ui/resolve/issue-111312.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-111312.stderr b/tests/ui/resolve/issue-111312.stderr
new file mode 100644
index 00000000000..4c864029c98
--- /dev/null
+++ b/tests/ui/resolve/issue-111312.stderr
@@ -0,0 +1,15 @@
+error[E0599]: no function or associated item named `has` found for trait `HasNot`
+ --> $DIR/issue-111312.rs:10:13
+ |
+LL | HasNot::has();
+ | ^^^ function or associated item not found in `HasNot`
+ |
+note: `Has` defines an item `has`
+ --> $DIR/issue-111312.rs:3:1
+ |
+LL | trait Has {
+ | ^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.