Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
entry-point
/
return-ty-has-bound-vars.rs
blob: 0995ce06160925f6539380552c2cadf8023acfa9 [
file
] [
log
] [
blame
]
// issue-119209
fn
main
<
'a>(_: &'
a i32
)
->
&
'a () { &() } //~ERROR `main` function return type is not allowed to have generic parameters