We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3919b71 commit e885356Copy full SHA for e885356
src/test/rustdoc-ui/issue-106226.rs
@@ -0,0 +1,3 @@
1
+// This is a regression test for <https://github.com/rust-lang/rust/issues/106226>.
2
+type F = [_; ()];
3
+//~^ ERROR
src/test/rustdoc-ui/issue-106226.stderr
@@ -0,0 +1,9 @@
+error[E0308]: mismatched types
+ --> $DIR/issue-106226.rs:2:14
+ |
4
+LL | type F = [_; ()];
5
+ | ^^ expected `usize`, found `()`
6
+
7
+error: aborting due to previous error
8
9
+For more information about this error, try `rustc --explain E0308`.
0 commit comments