about summary refs log tree commit diff
path: root/tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr')
-rw-r--r--tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr b/tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr
new file mode 100644
index 00000000000..4e10437362c
--- /dev/null
+++ b/tests/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr
@@ -0,0 +1,14 @@
+error: OK
+  --> $DIR/dep-graph-trait-impl-two-traits.rs:32:5
+   |
+LL |     #[rustc_then_this_would_need(typeck)]
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: no path from `x::<impl Foo for char>` to `typeck`
+  --> $DIR/dep-graph-trait-impl-two-traits.rs:41:5
+   |
+LL |     #[rustc_then_this_would_need(typeck)]
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+