Commit a2b4ff3
committed
Ignore return_self_not_must_use clippy lint
error: missing `#[must_use]` attribute on a method returning `Self`
--> src/lib.rs:437:5
|
437 | / pub fn resolved_at(&self, other: Span) -> Span {
438 | | Span::_new(self.inner.resolved_at(other.inner))
439 | | }
| |_____^
|
= note: `-D clippy::return-self-not-must-use` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use
error: missing `#[must_use]` attribute on a method returning `Self`
--> src/lib.rs:443:5
|
443 | / pub fn located_at(&self, other: Span) -> Span {
444 | | Span::_new(self.inner.located_at(other.inner))
445 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use1 parent 5671a59 commit a2b4ff3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments