alpha
Login
or
Join now
oppi.li
/
statix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Lints and suggestions for the Nix programming language
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
statix
/
vfs
1 folder
1 file
at
main
x10an14
lint(vfs): don't hide elided lifetime
10mo ago
78223ab3
src
lint(vfs): don't hide elided lifetime Ref: ``` Compiling vfs v0.0.0 (/build/source/vfs) error: hiding a lifetime that's elided elsewhere is confusing --> vfs/src/lib.rs:73:17 | 73 | pub fn iter(&self) -> impl Iterator<Item = VfsEntry> { | ^^^^^ -------- 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 | 73 | pub fn iter(&self) -> impl Iterator<Item = VfsEntry<'_>> { | ++++ error: could not compile `vfs` (lib) due to 1 previous error ```
10 months ago
Cargo.toml
lint(vfs): don't hide elided lifetime Ref: ``` Compiling vfs v0.0.0 (/build/source/vfs) error: hiding a lifetime that's elided elsewhere is confusing --> vfs/src/lib.rs:73:17 | 73 | pub fn iter(&self) -> impl Iterator<Item = VfsEntry> { | ^^^^^ -------- 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 | 73 | pub fn iter(&self) -> impl Iterator<Item = VfsEntry<'_>> { | ++++ error: could not compile `vfs` (lib) due to 1 previous error ```
10 months ago