blob: be9da569f8be11f5ef929cb98d53b5a480d75a94 [file] [log] [blame]
error[E0477]: the type `&'a i32` does not fulfill the required lifetime
--> $DIR/issue-26217.rs:4:5
|
LL | foo::<&'a i32>();
| ^^^^^^^^^^^^^^
|
= note: type must satisfy the static lifetime
error: aborting due to previous error
For more information about this error, try `rustc --explain E0477`.