summaryrefslogtreecommitdiffstats
path: root/src/test/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr')
-rw-r--r--src/test/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr b/src/test/ui/dep-graph/dep-graph-trait-impl-two-traits.stderr
new file mode 100644
index 000000000..4e1043736
--- /dev/null
+++ b/src/test/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
+