]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26217.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-26217.stderr
1 error[E0477]: the type `&'a i32` does not fulfill the required lifetime
2   --> $DIR/issue-26217.rs:14:5
3    |
4 LL |     foo::<&'a i32>();
5    |     ^^^^^^^^^^^^^^
6    |
7    = note: type must satisfy the static lifetime
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0477`.