-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit 25f8ee6
committed
Ignore mismatched_lifetime_syntaxes lint
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/attr.rs:69:19
|
69 | pub fn get(input: &[Attribute]) -> Result<Attrs> {
| ^^^^^^^^^^^^ ----- 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
|
69 | pub fn get(input: &[Attribute]) -> Result<Attrs<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:7:30
|
7 | pub(crate) fn from_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
7 | pub(crate) fn from_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:11:32
|
11 | pub(crate) fn source_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
11 | pub(crate) fn source_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:15:35
|
15 | pub(crate) fn backtrace_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
15 | pub(crate) fn backtrace_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:19:44
|
19 | pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
19 | pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:54:30
|
54 | pub(crate) fn from_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
54 | pub(crate) fn from_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:58:32
|
58 | pub(crate) fn source_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
58 | pub(crate) fn source_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:62:35
|
62 | pub(crate) fn backtrace_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
62 | pub(crate) fn backtrace_field(&self) -> Option<&Field<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> impl/src/prop.rs:66:44
|
66 | pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field> {
| ^^^^^ ------
| | ||
| | |the lifetimes get resolved as `'_`
| | the lifetimes get 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
|
66 | pub(crate) fn distinct_backtrace_field(&self) -> Option<&Field<'_>> {
| ++++1 parent 9abad43 commit 25f8ee6Copy full SHA for 25f8ee6
File tree
Expand file treeCollapse file tree
1 file changed
+1
-0
lines changedFilter options
- impl/src
Expand file treeCollapse file tree
1 file changed
+1
-0
lines changed+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
|
0 commit comments