feat: LSP support #201
rust.yml
on: pull_request
Ensure rustfmt is happy
13s
Lint the codebase with clippy
37s
Check doc links are valid
27s
Matrix: test
Annotations
26 warnings
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L512
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:512:6
|
512 | impl<'a> Iterator for WinIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
512 - impl<'a> Iterator for WinIter<'a> {
512 + impl Iterator for WinIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L478
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:478:6
|
478 | impl<'a> Iterator for ColIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
478 - impl<'a> Iterator for ColIter<'a> {
478 + impl Iterator for ColIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L405
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:405:6
|
405 | impl<'a> Iterator for WinsIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
405 - impl<'a> Iterator for WinsIter<'a> {
405 + impl Iterator for WinsIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/regex/matches.rs#L199
warning: the following explicit lifetimes could be elided: 'a
--> src/regex/matches.rs:199:6
|
199 | impl<'a, I> Iterator for MatchIter<'a, I>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
199 - impl<'a, I> Iterator for MatchIter<'a, I>
199 + impl<I> Iterator for MatchIter<'_, I>
|
|
the following explicit lifetimes could be elided: 'a:
src/log.rs#L39
warning: the following explicit lifetimes could be elided: 'a
--> src/log.rs:39:6
|
39 | impl<'a> Write for LogWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
39 - impl<'a> Write for LogWriter<'a> {
39 + impl Write for LogWriter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/exec/char_iter.rs#L52
warning: the following explicit lifetimes could be elided: 'a
--> src/exec/char_iter.rs:52:6
|
52 | impl<'a> Iterator for CharIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
52 - impl<'a> Iterator for CharIter<'a> {
52 + impl Iterator for CharIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/exec/cached_stdin.rs#L141
warning: the following explicit lifetimes could be elided: 'a
--> src/exec/cached_stdin.rs:141:6
|
141 | impl<'a> Iterator for CachedStdinIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
141 - impl<'a> Iterator for CachedStdinIter<'a> {
141 + impl Iterator for CachedStdinIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/dot/find.rs#L133
warning: the following explicit lifetimes could be elided: 'a
--> src/dot/find.rs:133:6
|
133 | impl<'a> Find for &'a str {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
133 - impl<'a> Find for &'a str {
133 + impl Find for &str {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L898
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:898:6
|
898 | impl<'a> Iterator for IdxChars<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
898 - impl<'a> Iterator for IdxChars<'a> {
898 + impl Iterator for IdxChars<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L872
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:872:6
|
872 | impl<'a> Iterator for Chars<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
872 - impl<'a> Iterator for Chars<'a> {
872 + impl Iterator for Chars<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L859
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:859:6
|
859 | impl<'a> PartialEq<String> for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
859 - impl<'a> PartialEq<String> for Slice<'a> {
859 + impl PartialEq<String> for Slice<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L851
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:851:6
|
851 | impl<'a, 'b> PartialEq<&'b str> for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
851 - impl<'a, 'b> PartialEq<&'b str> for Slice<'a> {
851 + impl<'b> PartialEq<&'b str> for Slice<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L838
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:838:6
|
838 | impl<'a> fmt::Display for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:3:5
|
3 | clippy::complexity,
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::needless_lifetimes)]` implied by `#[warn(clippy::complexity)]`
help: elide the lifetimes
|
838 - impl<'a> fmt::Display for Slice<'a> {
838 + impl fmt::Display for Slice<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L512
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:512:6
|
512 | impl<'a> Iterator for WinIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
512 - impl<'a> Iterator for WinIter<'a> {
512 + impl Iterator for WinIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L478
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:478:6
|
478 | impl<'a> Iterator for ColIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
478 - impl<'a> Iterator for ColIter<'a> {
478 + impl Iterator for ColIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/ui/tui.rs#L405
warning: the following explicit lifetimes could be elided: 'a
--> src/ui/tui.rs:405:6
|
405 | impl<'a> Iterator for WinsIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
405 - impl<'a> Iterator for WinsIter<'a> {
405 + impl Iterator for WinsIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/regex/matches.rs#L199
warning: the following explicit lifetimes could be elided: 'a
--> src/regex/matches.rs:199:6
|
199 | impl<'a, I> Iterator for MatchIter<'a, I>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
199 - impl<'a, I> Iterator for MatchIter<'a, I>
199 + impl<I> Iterator for MatchIter<'_, I>
|
|
the following explicit lifetimes could be elided: 'a:
src/log.rs#L39
warning: the following explicit lifetimes could be elided: 'a
--> src/log.rs:39:6
|
39 | impl<'a> Write for LogWriter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
39 - impl<'a> Write for LogWriter<'a> {
39 + impl Write for LogWriter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/exec/char_iter.rs#L52
warning: the following explicit lifetimes could be elided: 'a
--> src/exec/char_iter.rs:52:6
|
52 | impl<'a> Iterator for CharIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
52 - impl<'a> Iterator for CharIter<'a> {
52 + impl Iterator for CharIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/exec/cached_stdin.rs#L141
warning: the following explicit lifetimes could be elided: 'a
--> src/exec/cached_stdin.rs:141:6
|
141 | impl<'a> Iterator for CachedStdinIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
141 - impl<'a> Iterator for CachedStdinIter<'a> {
141 + impl Iterator for CachedStdinIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/dot/find.rs#L133
warning: the following explicit lifetimes could be elided: 'a
--> src/dot/find.rs:133:6
|
133 | impl<'a> Find for &'a str {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
133 - impl<'a> Find for &'a str {
133 + impl Find for &str {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L898
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:898:6
|
898 | impl<'a> Iterator for IdxChars<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
898 - impl<'a> Iterator for IdxChars<'a> {
898 + impl Iterator for IdxChars<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L872
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:872:6
|
872 | impl<'a> Iterator for Chars<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
872 - impl<'a> Iterator for Chars<'a> {
872 + impl Iterator for Chars<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L859
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:859:6
|
859 | impl<'a> PartialEq<String> for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
859 - impl<'a> PartialEq<String> for Slice<'a> {
859 + impl PartialEq<String> for Slice<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L851
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:851:6
|
851 | impl<'a, 'b> PartialEq<&'b str> for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
851 - impl<'a, 'b> PartialEq<&'b str> for Slice<'a> {
851 + impl<'b> PartialEq<&'b str> for Slice<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/buffer/internal.rs#L838
warning: the following explicit lifetimes could be elided: 'a
--> src/buffer/internal.rs:838:6
|
838 | impl<'a> fmt::Display for Slice<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:3:5
|
3 | clippy::complexity,
| ^^^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::needless_lifetimes)]` implied by `#[warn(clippy::complexity)]`
help: elide the lifetimes
|
838 - impl<'a> fmt::Display for Slice<'a> {
838 + impl fmt::Display for Slice<'_> {
|
|