]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26217.stderr
Rollup merge of #69625 - Stebalien:feat/iter-copy-specialize, r=KodrAus
[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:4: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`.