You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: lifetime flowing from input to output with different syntax can be confusing
--> macro/src/generics.rs:70:43
|
70 | pub(crate) fn to_underscore_lifetimes(&self) -> UnderscoreLifetimes {
| ^^^^^ ------------------- 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
|
70 | pub(crate) fn to_underscore_lifetimes(&self) -> UnderscoreLifetimes<'_> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> syntax/instantiate.rs:30:28
|
30 | pub(crate) fn impl_key(&self) -> Option<ImplKey> {
| ^^^^^ ------- 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
|
30 | pub(crate) fn impl_key(&self) -> Option<ImplKey<'_>> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> syntax/map.rs:29:28
|
29 | pub(crate) fn iter(&self) -> Iter<K, V> {
| ^^^^^ ---------- 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
|
29 | pub(crate) fn iter(&self) -> Iter<'_, K, V> {
| +++
warning: lifetime flowing from input to output with different syntax can be confusing
--> syntax/map.rs:115:29
|
115 | pub(crate) fn entry(&mut self, key: K) -> Entry<K, V> {
| ^^^^^^^^^ ----------- 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
|
115 | pub(crate) fn entry(&mut self, key: K) -> Entry<'_, K, V> {
| +++
warning: lifetime flowing from input to output with different syntax can be confusing
--> syntax/namespace.rs:22:24
|
22 | pub(crate) fn iter(&self) -> Iter<Ident> {
| ^^^^^ ----------- 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
|
22 | pub(crate) fn iter(&self) -> Iter<'_, Ident> {
| +++
warning: lifetime flowing from input to output with different syntax can be confusing
--> macro/src/tokens.rs:11:22
|
11 | pub(crate) fn ty(&self) -> ReceiverType {
| ^^^^^ ------------ 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
|
11 | pub(crate) fn ty(&self) -> ReceiverType<'_> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> macro/src/tokens.rs:16:27
|
16 | pub(crate) fn ty_self(&self) -> ReceiverTypeSelf {
| ^^^^^ ---------------- 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
|
16 | pub(crate) fn ty_self(&self) -> ReceiverTypeSelf<'_> {
| ++++
warning: lifetime flowing from input to output with different syntax can be confusing
--> src/cxx_vector.rs:166:17
|
166 | pub fn iter(&self) -> Iter<T> {
| ^^^^^ ------- 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
|
166 | pub fn iter(&self) -> Iter<'_, T> {
| +++
warning: lifetime flowing from input to output with different syntax can be confusing
--> src/cxx_vector.rs:171:31
|
171 | pub fn iter_mut(self: Pin<&mut Self>) -> IterMut<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
|
171 | pub fn iter_mut(self: Pin<&mut Self>) -> IterMut<'_, T> {
| +++
warning: lifetime flowing from input to output with different syntax can be confusing
--> src/cxx_string.rs:169:28
|
169 | pub fn to_string_lossy(&self) -> Cow<str> {
| ^^^^^ -------- 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
|
169 | pub fn to_string_lossy(&self) -> Cow<'_, str> {
| +++
0 commit comments