Ignore mismatched_lifetime_syntaxes lint
Before adoption: this commit came in with the history the project adopted, so no landing records it.
warning: lifetime flowing from input to output with different syntax can be confusing --> src/error.rs:489:18 | 489 | pub fn chain(&self) -> Chain { | ^^^^^ ----- the lifetime gets resolved as `'_` | | | this lifetime flows to the output | = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 489 | pub fn chain(&self) -> Chain<'_> { | ++++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/error.rs:1082:14 | 1082 | fn erase(&self) -> Ref<ErrorImpl> { | ^^^^^ -------------- the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 1082 | fn erase(&self) -> Ref<'_, ErrorImpl> { | +++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/error.rs:1091:38 | 1091 | pub(crate) unsafe fn error(this: Ref<Self>) -> &(dyn StdError + Send + Sync + 'static) { | ^^^^^^^^^ --------------------------------------- the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 1091 | pub(crate) unsafe fn error(this: Ref<'_, Self>) -> &(dyn StdError + Send + Sync + 'static) { | +++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/error.rs:1098:42 | 1098 | pub(crate) unsafe fn error_mut(this: Mut<Self>) -> &mut (dyn StdError + Send + Sync + 'static) { | ^^^^^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 1098 | pub(crate) unsafe fn error_mut(this: Mut<'_, Self>) -> &mut (dyn StdError + Send + Sync + 'static) { | +++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/error.rs:1114:42 | 1114 | pub(crate) unsafe fn backtrace(this: Ref<Self>) -> &Backtrace { | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 1114 | pub(crate) unsafe fn backtrace(this: Ref<'_, Self>) -> &Backtrace { | +++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/ptr.rs:48:19 | 48 | pub fn by_ref(&self) -> Ref<T> { | ^^^^^ ------ the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 48 | pub fn by_ref(&self) -> Ref<'_, T> { | +++ warning: lifetime flowing from input to output with different syntax can be confusing --> src/ptr.rs:55:19 | 55 | pub fn by_mut(&mut self) -> Mut<T> { | ^^^^^^^^^ ------ the lifetime gets resolved as `'_` | | | this lifetime flows to the output | help: one option is to remove the lifetime for references and use the anonymous lifetime for paths | 55 | pub fn by_mut(&mut self) -> Mut<'_, T> { | +++
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−0 removed
- other:+1 added−0 removed