blob: e7aab839f3171e6dd4f4b0b19f6a708da758ad93 [file] [log] [blame]
error[E0131]: `main` function return type is not allowed to have generic parameters
--> $DIR/return-ty-has-bound-vars.rs:3:28
|
LL | fn main<'a>(_: &'a i32) -> &'a () { &() }
| ^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0131`.