diff options
Diffstat (limited to 'tests/ui/issues/issue-1900.rs')
-rw-r--r-- | tests/ui/issues/issue-1900.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-1900.rs b/tests/ui/issues/issue-1900.rs new file mode 100644 index 000000000..761bd3170 --- /dev/null +++ b/tests/ui/issues/issue-1900.rs @@ -0,0 +1,2 @@ +fn main<T>() { } +//~^ ERROR `main` function is not allowed to have generic parameters |