fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
332 B9 linesraw
1error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
2  --> $DIR/issue-22886.rs:13:6
3   |
4LL | impl<'a> Iterator for Newtype {
5   |      ^^ unconstrained lifetime parameter
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0207`.