Remove blanket implementation of HasField #475
Annotations
7 errors and 12 warnings
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field_mut.rs#L17
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field_mut.rs:17:6
|
17 | impl<'a, Context, Tag, Value> HasFieldMut<Tag> for &'a mut Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
17 - impl<'a, Context, Tag, Value> HasFieldMut<Tag> for &'a mut Context
17 + impl<Context, Tag, Value> HasFieldMut<Tag> for &mut Context
|
|
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field_mut.rs#L17
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field_mut.rs:17:6
|
17 | impl<'a, Context, Tag, Value> HasFieldMut<Tag> for &'a mut Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
17 - impl<'a, Context, Tag, Value> HasFieldMut<Tag> for &'a mut Context
17 + impl<Context, Tag, Value> HasFieldMut<Tag> for &mut Context
|
|
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field.rs#L83
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field.rs:83:6
|
83 | impl<'a, Context, Tag, Value> HasField<Tag> for &'a mut Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
83 - impl<'a, Context, Tag, Value> HasField<Tag> for &'a mut Context
83 + impl<Context, Tag, Value> HasField<Tag> for &mut Context
|
|
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field.rs#L83
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field.rs:83:6
|
83 | impl<'a, Context, Tag, Value> HasField<Tag> for &'a mut Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
83 - impl<'a, Context, Tag, Value> HasField<Tag> for &'a mut Context
83 + impl<Context, Tag, Value> HasField<Tag> for &mut Context
|
|
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field.rs#L72
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field.rs:72:6
|
72 | impl<'a, Context, Tag, Value> HasField<Tag> for &'a Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
72 - impl<'a, Context, Tag, Value> HasField<Tag> for &'a Context
72 + impl<Context, Tag, Value> HasField<Tag> for &Context
|
|
|
the following explicit lifetimes could be elided: 'a:
crates/cgp-field/src/traits/has_field.rs#L72
error: the following explicit lifetimes could be elided: 'a
--> crates/cgp-field/src/traits/has_field.rs:72:6
|
72 | impl<'a, Context, Tag, Value> HasField<Tag> for &'a Context
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
72 - impl<'a, Context, Tag, Value> HasField<Tag> for &'a Context
72 + impl<Context, Tag, Value> HasField<Tag> for &Context
|
|
|
clippy
Clippy had exited with the 101 exit code
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|