Added collection struct for contexts to reduce number of arguments (c… #106
Annotations
4 warnings
clippy --all-targets --all-features:
src/api/context_collection.rs#L14
warning: fields `in_use_context` and `model_context` are never read
--> src/api/context_collection.rs:14:16
|
12 | pub struct ContextCollection {
| ----------------- fields in this struct
13 | pub(crate) access_context: Arc<dyn AccessContextTrait>,
14 | pub(crate) in_use_context: Arc<dyn InUseContextTrait>,
| ^^^^^^^^^^^^^^
15 | pub(crate) model_context: Arc<dyn ModelContextTrait>,
| ^^^^^^^^^^^^^
|
= note: `ContextCollection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
clippy --all-targets --all-features:
src/api/context_collection.rs#L14
warning: fields `in_use_context` and `model_context` are never read
--> src/api/context_collection.rs:14:16
|
12 | pub struct ContextCollection {
| ----------------- fields in this struct
13 | pub(crate) access_context: Arc<dyn AccessContextTrait>,
14 | pub(crate) in_use_context: Arc<dyn InUseContextTrait>,
| ^^^^^^^^^^^^^^
15 | pub(crate) model_context: Arc<dyn ModelContextTrait>,
| ^^^^^^^^^^^^^
|
= note: `ContextCollection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
clippy --all-targets --all-features:
src/api/server.rs#L12
warning: module has the same name as its containing module
--> src/api/server.rs:12:1
|
12 | / pub mod server {
13 | | tonic::include_proto!("ecdar_proto_buf");
14 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
clippy --all-targets --all-features:
src/api/server.rs#L12
warning: module has the same name as its containing module
--> src/api/server.rs:12:1
|
12 | / pub mod server {
13 | | tonic::include_proto!("ecdar_proto_buf");
14 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
The logs for this run have expired and are no longer available.
Loading