mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +00:00
4 lines
138 B
Rust
4 lines
138 B
Rust
// issue-119209
|
|
|
|
fn main<'a>(_: &'a i32) -> &'a () { &() } //~ERROR `main` function return type is not allowed to have generic parameters
|