You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust v1.89.0 is reporting rustc::mismatched_lifetime_syntaxes:
```console
warning: hiding a lifetime that's elided elsewhere is confusing
--> src/devices/src/virtio/descriptor_utils.rs:499:13
|
499 | memory: &GuestMemoryMmap,
| ^^^^^^^^^^^^^^^^ the lifetime is elided here
...
504 | ) -> Result<DescriptorChain> {
| --------------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
504 | ) -> Result<DescriptorChain<'_>> {
| ++++
```
fix as suggested by rustc to kill those warnings.
Signed-off-by: Ruoqing He <[email protected]>
0 commit comments