summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-51022.rs
blob: cebdfe00c1b9d336a22b31c7e6c48e0cca47d78a (plain)
1
2
fn main<'a>() { }
    //~^ ERROR `main` function is not allowed to have generic parameters [E0131]