Introduce Accessor Component Macros #71
Annotations
7 errors and 15 warnings
this expression creates a reference which is immediately dereferenced by the compiler:
crates/cgp-component-macro-lib/src/derive_component/derive.rs#L30
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/cgp-component-macro-lib/src/derive_component/derive.rs:30:46
|
30 | let consumer_impl = derive_consumer_impl(&consumer_trait, provider_name, context_type);
| ^^^^^^^^^^^^^^^ help: change this to: `consumer_trait`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/cgp-component-macro-lib/src/derive_component/derive.rs#L28
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/cgp-component-macro-lib/src/derive_component/derive.rs:28:48
|
28 | let provider_trait = derive_provider_trait(&consumer_trait, provider_name, context_type)?;
| ^^^^^^^^^^^^^^^ help: change this to: `consumer_trait`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/cgp-component-macro-lib/src/derive_component/derive.rs#L30
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/cgp-component-macro-lib/src/derive_component/derive.rs:30:46
|
30 | let consumer_impl = derive_consumer_impl(&consumer_trait, provider_name, context_type);
| ^^^^^^^^^^^^^^^ help: change this to: `consumer_trait`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/cgp-component-macro-lib/src/derive_component/derive.rs#L28
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/cgp-component-macro-lib/src/derive_component/derive.rs:28:48
|
28 | let provider_trait = derive_provider_trait(&consumer_trait, provider_name, context_type)?;
| ^^^^^^^^^^^^^^^ help: change this to: `consumer_trait`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|
statics have by default a `'static` lifetime:
crates/cgp-component-macro-lib/src/derive_component/component_spec.rs#L24
error: statics have by default a `'static` lifetime
--> crates/cgp-component-macro-lib/src/derive_component/component_spec.rs:24:22
|
24 | static VALID_KEYS: [&'static str; 3] = ["context", "provider", "name"];
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_static_lifetimes)]`
|
statics have by default a `'static` lifetime:
crates/cgp-component-macro-lib/src/derive_component/component_spec.rs#L24
error: statics have by default a `'static` lifetime
--> crates/cgp-component-macro-lib/src/derive_component/component_spec.rs:24:22
|
24 | static VALID_KEYS: [&'static str; 3] = ["context", "provider", "name"];
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_static_lifetimes)]`
|
clippy
Clippy had exited with the 101 exit code
|
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|