summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-30123.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-30123.stderr')
-rw-r--r--tests/ui/issues/issue-30123.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-30123.stderr b/tests/ui/issues/issue-30123.stderr
new file mode 100644
index 000000000..7808cbf8a
--- /dev/null
+++ b/tests/ui/issues/issue-30123.stderr
@@ -0,0 +1,12 @@
+error[E0599]: no function or associated item named `new_undirected` found for struct `Graph<i32, i32>` in the current scope
+ --> $DIR/issue-30123.rs:7:33
+ |
+LL | let ug = Graph::<i32, i32>::new_undirected();
+ | ^^^^^^^^^^^^^^ function or associated item not found in `Graph<i32, i32>`
+ |
+ = note: the function or associated item was found for
+ - `issue_30123_aux::Graph<N, E, Undirected>`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.