summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-106226.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-106226.stderr')
-rw-r--r--tests/rustdoc-ui/issues/issue-106226.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-106226.stderr b/tests/rustdoc-ui/issues/issue-106226.stderr
new file mode 100644
index 000000000..1c973dab6
--- /dev/null
+++ b/tests/rustdoc-ui/issues/issue-106226.stderr
@@ -0,0 +1,9 @@
+error[E0121]: the placeholder `_` is not allowed within types on item signatures for type aliases
+ --> $DIR/issue-106226.rs:2:11
+ |
+LL | type F = [_; ()];
+ | ^ not allowed in type signatures
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0121`.