summaryrefslogtreecommitdiffstats
path: root/tests/ui/query-system/no-query-in-printing-during-query-descr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/query-system/no-query-in-printing-during-query-descr.stderr')
-rw-r--r--tests/ui/query-system/no-query-in-printing-during-query-descr.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/query-system/no-query-in-printing-during-query-descr.stderr b/tests/ui/query-system/no-query-in-printing-during-query-descr.stderr
new file mode 100644
index 000000000..35e608b6b
--- /dev/null
+++ b/tests/ui/query-system/no-query-in-printing-during-query-descr.stderr
@@ -0,0 +1,9 @@
+error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
+ --> $DIR/no-query-in-printing-during-query-descr.rs:1:11
+ |
+LL | fn a() -> _ {
+ | ^ not allowed in type signatures
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0121`.