Description:
Running cargo install --path . no longer compiles due to mismatched-lifetime-syntaxes being triggered.
How to reproduce:
run cargo install --path . with updated rust toolchain.
Expected behavior:
To compile.
Screenshots
error: hiding a lifetime that's elided elsewhere is confusing
--> src/ui/edit_config.rs:67:30
|
67 | pub fn mode_footer_text(app: &App) -> Vec<Span> {
| ^^^^ ^^^^ 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: `-D mismatched-lifetime-syntaxes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(mismatched_lifetime_syntaxes)]`
help: use `'_` for type paths
|
67 | pub fn mode_footer_text(app: &App) -> Vec<Span<'_>> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/ui/edit_config.rs:76:23
|
76 | pub fn keys_hint(app: &App) -> Span {
| ^^^^ ^^^^ 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
|
76 | pub fn keys_hint(app: &App) -> Span<'_> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/ui/latest.rs:70:30
|
70 | pub fn mode_footer_text(app: &App) -> Vec<Span> {
| ^^^^ ^^^^ 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
|
70 | pub fn mode_footer_text(app: &App) -> Vec<Span<'_>> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/ui/mail_list.rs:53:30
|
53 | pub fn mode_footer_text(app: &App) -> Vec<Span> {
| ^^^^ ^^^^ 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
|
53 | pub fn mode_footer_text(app: &App) -> Vec<Span<'_>> {
| ++++
error: could not compile `patch-hub` (bin "patch-hub") due to 4 previous errors
Setup:
- Project branch: master
- Project commit hash: deba389
Description:
Running
cargo install --path .no longer compiles due tomismatched-lifetime-syntaxesbeing triggered.How to reproduce:
run
cargo install --path .with updated rust toolchain.Expected behavior:
To compile.
Screenshots
Setup: