diff options
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-106226.rs')
-rw-r--r-- | tests/rustdoc-ui/issues/issue-106226.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-106226.rs b/tests/rustdoc-ui/issues/issue-106226.rs new file mode 100644 index 000000000..71b497a9a --- /dev/null +++ b/tests/rustdoc-ui/issues/issue-106226.rs @@ -0,0 +1,3 @@ +// This is a regression test for <https://github.com/rust-lang/rust/issues/106226>. +type F = [_; ()]; +//~^ ERROR |