rust/tests/ui/fn/issue-1900.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
86 B
Rust
Raw Normal View History

fn main<T>() { }
2018-07-15 21:11:54 +00:00
//~^ ERROR `main` function is not allowed to have generic parameters