Hi,
Newer Rust versions like 1.93.0 report compilation warnings.
% cargo test
warning: hiding a lifetime that's elided elsewhere is confusing
--> apk/src/compiler/table.rs:221:23
|
221 | fn lookup_package(&self, id: u8) -> Result<Package> {
| ^^^^^ ^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided 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
|
221 | fn lookup_package(&self, id: u8) -> Result<Package<'_>> {
| ++++
warning: hiding a lifetime that's elided elsewhere is confusing
--> apk/src/compiler/table.rs:232:25
|
232 | pub fn entry_by_ref(&self, r: Ref) -> Result<Entry> {
| ^^^^^ ^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
232 | pub fn entry_by_ref(&self, r: Ref) -> Result<Entry<'_>> {
| ++++
Can we please resolve these? That way, downstream libraries and applications will have a lot less noise during compilation.
Hi,
Newer Rust versions like 1.93.0 report compilation warnings.
Can we please resolve these? That way, downstream libraries and applications will have a lot less noise during compilation.