blob: 76c14ccc14b4522906c1821bb06a5ec6c26b9572 [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/underscore-lifetime-elison-mismatch.rs:1:49
|
LL | fn foo(x: &mut Vec<&'_ u8>, y: &'_ u8) { x.push(y); }
| ------ ------ ^ ...but data from `y` flows into `x` here
| |
| these two types are declared with different lifetimes...
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.