about summary refs log tree commit diff
path: root/tests/ui/entry-point/return-ty-has-bound-vars.rs
blob: 0995ce06160925f6539380552c2cadf8023acfa9 (plain)
1
2
3
// issue-119209

fn main<'a>(_: &'a i32) -> &'a () { &() } //~ERROR `main` function return type is not allowed to have generic parameters