Continuous Integration #4633
Annotations
1 error and 151 warnings
doc
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
compile (nightly, nightly, true)
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/
|
compile (nightly, nightly, true)
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/
|
compile (nightly, nightly, true)
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/
|
compile (nightly, nightly, true)
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/
|
compile (stable, false)
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/
|
compile (stable, false)
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/
|
compile (stable, false)
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/
|
compile (stable, false)
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/
|
compile (beta, true)
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/
|
compile (beta, true)
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/
|
compile (beta, true)
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/
|
compile (beta, true)
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/
|
style
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/
|
style
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/
|
style
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/
|
style
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/
|
doc
The `save-state` 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/
|
doc
The `save-state` 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/
|
doc
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/
|
doc
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/
|
doc
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/
|
doc
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/
|
doc
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/
|
hitl-trigger
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/
|
hitl-trigger
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/
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|
creating a mutable reference to mutable static is discouraged:
src/hardware/setup.rs#L671
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/setup.rs:671:29
|
671 | let ring = unsafe { DES_RING.write(ethernet::DesRing::new()) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
446 | / adc_input!(
447 | | Adc1Input, 1, Stream3, Stream4, Stream5, SPI3, Channel2, Tim2Ch2, Channel2,
448 | | Tim3Ch2
449 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L378
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:378:25
|
378 | ADC_BUF.write(Default::default())
| ^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L341
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:341:25
|
341 | SPI_START.write([0x201])
| ^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
creating a mutable reference to mutable static is discouraged:
src/hardware/adc.rs#L298
warning: creating a mutable reference to mutable static is discouraged
--> src/hardware/adc.rs:298:25
|
298 | SPI_EOT_CLEAR.write([1 << 3])
| ^^^^^^^^^^^^^ mutable reference to mutable static
...
442 | / adc_input!(
443 | | Adc0Input, 0, Stream0, Stream1, Stream2, SPI2, Channel1, Tim2Ch1, Channel1,
444 | | Tim3Ch1
445 | | );
| |_- in this macro invocation
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
= note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
= note: `#[warn(static_mut_refs)]` on by default
= note: this warning originates in the macro `adc_input` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the following explicit lifetimes could be elided: 'a:
src/hardware/shared_adc.rs#L34
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/shared_adc.rs:34:6
|
34 | impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
34 - impl<'a, Adc, PIN> AdcChannel<'a, Adc, PIN>
34 + impl<Adc, PIN> AdcChannel<'_, Adc, PIN>
|
|
the following explicit lifetimes could be elided: 'a:
src/hardware/pounder/dds_output.rs#L138
warning: the following explicit lifetimes could be elided: 'a
--> src/hardware/pounder/dds_output.rs:138:6
|
138 | impl<'a> ProfileBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
138 - impl<'a> ProfileBuilder<'a> {
138 + impl ProfileBuilder<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L594
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:594:6
|
594 | impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
594 - impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> {
594 + impl<P: Platform, const Y: usize> Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L590
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:590:6
|
590 | impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
590 - impl<'a, P: Platform, const Y: usize> ErrorType for Interface<'a, P, Y> {
590 + impl<P: Platform, const Y: usize> ErrorType for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
serial-settings/src/lib.rs#L581
warning: the following explicit lifetimes could be elided: 'a
--> serial-settings/src/lib.rs:581:6
|
581 | impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
581 - impl<'a, P: Platform, const Y: usize> core::fmt::Write for Interface<'a, P, Y> {
581 + impl<P: Platform, const Y: usize> core::fmt::Write for Interface<'_, P, Y> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L23
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:23:6
|
23 | impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
23 - impl<'a, P: OutputPin, const N: usize> OutputPin for EncodedPin<'a, P, N> {
23 + impl<P: OutputPin, const N: usize> OutputPin for EncodedPin<'_, P, N> {
|
|
the following explicit lifetimes could be elided: 'a:
encoded_pin/src/lib.rs#L19
warning: the following explicit lifetimes could be elided: 'a
--> encoded_pin/src/lib.rs:19:6
|
19 | impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
19 - impl<'a, P: ErrorType, const N: usize> ErrorType for EncodedPin<'a, P, N> {
19 + impl<P: ErrorType, const N: usize> ErrorType for EncodedPin<'_, P, N> {
|
|