-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
After updating rust in pkgsrc to 1.90, the build of zet post-1.0.0 git revision b6a0c67 was broken. I have tried updating the package to 2.0.1, but this also fails to build with rust 1.90:
Compiling zet v2.0.1 (/scratch/textproc/zet/work/zet-2.0.1) 10:58:44 [87/1953]
error: hiding a lifetime that's elided elsewhere is confusing
--> src/help.rs:66:16
|
66 | fn parse(text: &str) -> Vec<HelpItem> {
| ^^^^ -------- 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: the lint level is defined here
--> src/lib.rs:60:5
|
60 | warnings,
| ^^^^^^^^
= note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
help: use `'_` for type paths
|
66 | fn parse(text: &str) -> Vec<HelpItem<'_>> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/operations.rs:175:20
|
175 | first_operand: &[u8],
| ^^^^^ the lifetime is elided here
176 | rest: impl Iterator<Item = Result<O>>,
177 | ) -> Result<ZetSet<B>> {
| --------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
177 | ) -> Result<ZetSet<'_, B>> {
| +++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/operations.rs:234:20
|
234 | first_operand: &[u8],
| ^^^^^ the lifetime is elided here
235 | rest: impl Iterator<Item = Result<O>>,
236 | ) -> Result<ZetSet<B>> {
| --------- the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
236 | ) -> Result<ZetSet<'_, B>> {
| +++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/set.rs:119:24
|
119 | pub(crate) fn keys(&self) -> map::Keys<Cow<[u8]>, B> {
| ^^^^^ -----------------------
| | | |
| | | the same lifetime is hidden here
| | 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
|
119 | pub(crate) fn keys(&self) -> map::Keys<'_, Cow<'_, [u8]>, B> {
| +++ +++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/set.rs:123:24
|
123 | pub(crate) fn iter(&self) -> map::Iter<Cow<[u8]>, B> {
| ^^^^^ -----------------------
| | | |
| | | the same lifetime is hidden here
| | 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
|
123 | pub(crate) fn iter(&self) -> map::Iter<'_, Cow<'_, [u8]>, B> {
| +++ +++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/set.rs:127:26
|
127 | pub(crate) fn values(&self) -> map::Values<Cow<[u8]>, B> {
| ^^^^^ -------------------------
| | | |
| | | the same lifetime is hidden here
| | 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
|
127 | pub(crate) fn values(&self) -> map::Values<'_, Cow<'_, [u8]>, B> {
| +++ +++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/styles.rs:16:33
|
16 | pub(crate) fn app_name(content: &str) -> StyledStr {
| ^^^^ --------- 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
|
16 | pub(crate) fn app_name(content: &str) -> StyledStr<'_> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/styles.rs:20:32
|
20 | pub(crate) fn as_item(content: &str) -> StyledStr {
| ^^^^ --------- 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
|
20 | pub(crate) fn as_item(content: &str) -> StyledStr<'_> {
| ++++
error: hiding a lifetime that's elided elsewhere is confusing
--> src/styles.rs:24:33
|
24 | pub(crate) fn as_title(content: &str) -> StyledStr {
| ^^^^ --------- 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
|
24 | pub(crate) fn as_title(content: &str) -> StyledStr<'_> {
| ++++
error: could not compile `zet` (lib) due to 9 previous errors
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels