more work #583
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
29 errors and 16 warnings
mismatched types:
src/store/mod.rs#L616
error[E0308]: mismatched types
--> src/store/mod.rs:616:9
|
615 | fn id_predicate(&self, id: u64) -> Option<String> {
| -------------- expected `std::option::Option<std::string::String>` because of return type
616 | self.layer.id_predicate(id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<Blankable<String>>`
|
= note: expected enum `std::option::Option<std::string::String>`
found enum `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
mismatched types:
src/store/mod.rs#L612
error[E0308]: mismatched types
--> src/store/mod.rs:612:9
|
611 | fn id_subject(&self, id: u64) -> Option<String> {
| -------------- expected `std::option::Option<std::string::String>` because of return type
612 | self.layer.id_subject(id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<Blankable<String>>`
|
= note: expected enum `std::option::Option<std::string::String>`
found enum `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
mismatched types:
src/store/mod.rs#L604
error[E0308]: mismatched types
--> src/store/mod.rs:604:35
|
604 | self.layer.object_node_id(object)
| -------------- ^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:31:8
|
31 | fn object_node_id(&self, object: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
604 | self.layer.object_node_id(layer::layer::Blankable::Val(object))
| +++++++++++++++++++++++++++++ +
|
mismatched types:
src/store/mod.rs#L600
error[E0308]: mismatched types
--> src/store/mod.rs:600:33
|
600 | self.layer.predicate_id(predicate)
| ------------ ^^^^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:29:8
|
29 | fn predicate_id(&self, predicate: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
600 | self.layer.predicate_id(layer::layer::Blankable::Val(predicate))
| +++++++++++++++++++++++++++++ +
|
mismatched types:
src/store/mod.rs#L596
error[E0308]: mismatched types
--> src/store/mod.rs:596:31
|
596 | self.layer.subject_id(subject)
| ---------- ^^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:27:8
|
27 | fn subject_id(&self, subject: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
596 | self.layer.subject_id(layer::layer::Blankable::Val(subject))
| +++++++++++++++++++++++++++++ +
|
mismatched types:
src/store/sync.rs#L397
error[E0308]: mismatched types
--> src/store/sync.rs:397:9
|
396 | fn id_predicate(&self, id: u64) -> Option<String> {
| -------------- expected `std::option::Option<std::string::String>` because of return type
397 | self.inner.id_predicate(id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<Blankable<String>>`
|
= note: expected enum `std::option::Option<std::string::String>`
found enum `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
mismatched types:
src/store/sync.rs#L393
error[E0308]: mismatched types
--> src/store/sync.rs:393:9
|
392 | fn id_subject(&self, id: u64) -> Option<String> {
| -------------- expected `std::option::Option<std::string::String>` because of return type
393 | self.inner.id_subject(id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<String>`, found `Option<Blankable<String>>`
|
= note: expected enum `std::option::Option<std::string::String>`
found enum `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
mismatched types:
src/store/sync.rs#L385
error[E0308]: mismatched types
--> src/store/sync.rs:385:35
|
385 | self.inner.object_node_id(object)
| -------------- ^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:31:8
|
31 | fn object_node_id(&self, object: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
385 | self.inner.object_node_id(layer::layer::Blankable::Val(object))
| +++++++++++++++++++++++++++++ +
|
mismatched types:
src/store/sync.rs#L381
error[E0308]: mismatched types
--> src/store/sync.rs:381:33
|
381 | self.inner.predicate_id(predicate)
| ------------ ^^^^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:29:8
|
29 | fn predicate_id(&self, predicate: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
381 | self.inner.predicate_id(layer::layer::Blankable::Val(predicate))
| +++++++++++++++++++++++++++++ +
|
mismatched types:
src/store/sync.rs#L377
error[E0308]: mismatched types
--> src/store/sync.rs:377:31
|
377 | self.inner.subject_id(subject)
| ---------- ^^^^^^^ expected `Blankable<&str>`, found `&str`
| |
| arguments to this method are incorrect
|
= note: expected enum `layer::layer::Blankable<&str>`
found reference `&str`
note: method defined here
--> src/layer/layer.rs:27:8
|
27 | fn subject_id(&self, subject: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^
help: try wrapping the expression in `layer::layer::Blankable::Val`
|
377 | self.inner.subject_id(layer::layer::Blankable::Val(subject))
| +++++++++++++++++++++++++++++ +
|
expected `[closure@simple_builder.rs:432:71]` to be a closure that returns `String`, but it returns `Blankable<String>`:
src/layer/simple_builder.rs#L432
error[E0271]: expected `[closure@simple_builder.rs:432:71]` to be a closure that returns `String`, but it returns `Blankable<String>`
--> src/layer/simple_builder.rs:432:44
|
432 | builder.add_predicates(predicates.into_iter().map(|x| x.0));
| -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Blankable<String>`
| |
| required by a bound introduced by this call
|
= note: expected struct `std::string::String`
found enum `layer::layer::Blankable<std::string::String>`
= note: required for `Map<IntoIter<(Blankable<String>, u64)>, [closure@simple_builder.rs:432:71]>` to implement `std::iter::Iterator`
= note: the full type name has been written to '/home/runner/work/terminusdb-store/terminusdb-store/target/debug/deps/terminus_store-3e3a68754b3868bd.long-type-12935062373439191354.txt'
note: required by a bound in `layer::internal::base::BaseLayerFileBuilder::<F>::add_predicates`
--> src/layer/internal/base.rs:240:53
|
240 | pub fn add_predicates<I: 'static + IntoIterator<Item = String> + Send>(
| ^^^^^^^^^^^^^ required by this bound in `BaseLayerFileBuilder::<F>::add_predicates`
|
expected `[closure@simple_builder.rs:416:71]` to be a closure that returns `String`, but it returns `Blankable<String>`:
src/layer/simple_builder.rs#L416
error[E0271]: expected `[closure@simple_builder.rs:416:71]` to be a closure that returns `String`, but it returns `Blankable<String>`
--> src/layer/simple_builder.rs:416:44
|
416 | builder.add_predicates(predicates.into_iter().map(|x| x.0));
| -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Blankable<String>`
| |
| required by a bound introduced by this call
|
= note: expected struct `std::string::String`
found enum `layer::layer::Blankable<std::string::String>`
= note: required for `Map<IntoIter<(Blankable<String>, u64)>, [closure@simple_builder.rs:416:71]>` to implement `std::iter::Iterator`
= note: the full type name has been written to '/home/runner/work/terminusdb-store/terminusdb-store/target/debug/deps/terminus_store-3e3a68754b3868bd.long-type-15573790622756974601.txt'
note: required by a bound in `layer::internal::child::ChildLayerFileBuilder::<F>::add_predicates`
--> src/layer/internal/child.rs:298:53
|
298 | pub fn add_predicates<I: 'static + IntoIterator<Item = String> + Send>(
| ^^^^^^^^^^^^^ required by this bound in `ChildLayerFileBuilder::<F>::add_predicates`
|
method `id_predicate` has an incompatible type for trait:
src/store/sync.rs#L396
error[E0053]: method `id_predicate` has an incompatible type for trait
--> src/store/sync.rs:396:40
|
396 | fn id_predicate(&self, id: u64) -> Option<String> {
| ^^^^^^^^^^^^^^
| |
| expected `Blankable<String>`, found `std::string::String`
| help: change the output type to match the trait: `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
note: type in trait
--> src/layer/layer.rs:38:40
|
38 | fn id_predicate(&self, id: u64) -> Option<Blankable<String>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::sync::SyncStoreLayer, _) -> std::option::Option<layer::layer::Blankable<std::string::String>>`
found signature `fn(&store::sync::SyncStoreLayer, _) -> std::option::Option<std::string::String>`
|
method `id_subject` has an incompatible type for trait:
src/store/sync.rs#L392
error[E0053]: method `id_subject` has an incompatible type for trait
--> src/store/sync.rs:392:38
|
392 | fn id_subject(&self, id: u64) -> Option<String> {
| ^^^^^^^^^^^^^^
| |
| expected `Blankable<String>`, found `std::string::String`
| help: change the output type to match the trait: `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
note: type in trait
--> src/layer/layer.rs:35:38
|
35 | fn id_subject(&self, id: u64) -> Option<Blankable<String>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::sync::SyncStoreLayer, _) -> std::option::Option<layer::layer::Blankable<std::string::String>>`
found signature `fn(&store::sync::SyncStoreLayer, _) -> std::option::Option<std::string::String>`
|
method `object_node_id` has an incompatible type for trait:
src/store/sync.rs#L384
error[E0053]: method `object_node_id` has an incompatible type for trait
--> src/store/sync.rs:384:38
|
384 | fn object_node_id(&self, object: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:31:38
|
31 | fn object_node_id(&self, object: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::sync::SyncStoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::sync::SyncStoreLayer, &str) -> std::option::Option<_>`
|
method `predicate_id` has an incompatible type for trait:
src/store/sync.rs#L380
error[E0053]: method `predicate_id` has an incompatible type for trait
--> src/store/sync.rs:380:39
|
380 | fn predicate_id(&self, predicate: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:29:39
|
29 | fn predicate_id(&self, predicate: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::sync::SyncStoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::sync::SyncStoreLayer, &str) -> std::option::Option<_>`
|
method `subject_id` has an incompatible type for trait:
src/store/sync.rs#L376
error[E0053]: method `subject_id` has an incompatible type for trait
--> src/store/sync.rs:376:35
|
376 | fn subject_id(&self, subject: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:27:35
|
27 | fn subject_id(&self, subject: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::sync::SyncStoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::sync::SyncStoreLayer, &str) -> std::option::Option<_>`
|
method `id_predicate` has an incompatible type for trait:
src/store/mod.rs#L615
error[E0053]: method `id_predicate` has an incompatible type for trait
--> src/store/mod.rs:615:40
|
615 | fn id_predicate(&self, id: u64) -> Option<String> {
| ^^^^^^^^^^^^^^
| |
| expected `Blankable<String>`, found `std::string::String`
| help: change the output type to match the trait: `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
note: type in trait
--> src/layer/layer.rs:38:40
|
38 | fn id_predicate(&self, id: u64) -> Option<Blankable<String>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::StoreLayer, _) -> std::option::Option<layer::layer::Blankable<std::string::String>>`
found signature `fn(&store::StoreLayer, _) -> std::option::Option<std::string::String>`
|
method `id_subject` has an incompatible type for trait:
src/store/mod.rs#L611
error[E0053]: method `id_subject` has an incompatible type for trait
--> src/store/mod.rs:611:38
|
611 | fn id_subject(&self, id: u64) -> Option<String> {
| ^^^^^^^^^^^^^^
| |
| expected `Blankable<String>`, found `std::string::String`
| help: change the output type to match the trait: `std::option::Option<layer::layer::Blankable<std::string::String>>`
|
note: type in trait
--> src/layer/layer.rs:35:38
|
35 | fn id_subject(&self, id: u64) -> Option<Blankable<String>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::StoreLayer, _) -> std::option::Option<layer::layer::Blankable<std::string::String>>`
found signature `fn(&store::StoreLayer, _) -> std::option::Option<std::string::String>`
|
method `object_node_id` has an incompatible type for trait:
src/store/mod.rs#L603
error[E0053]: method `object_node_id` has an incompatible type for trait
--> src/store/mod.rs:603:38
|
603 | fn object_node_id(&self, object: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:31:38
|
31 | fn object_node_id(&self, object: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::StoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::StoreLayer, &str) -> std::option::Option<_>`
|
method `predicate_id` has an incompatible type for trait:
src/store/mod.rs#L599
error[E0053]: method `predicate_id` has an incompatible type for trait
--> src/store/mod.rs:599:39
|
599 | fn predicate_id(&self, predicate: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:29:39
|
29 | fn predicate_id(&self, predicate: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::StoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::StoreLayer, &str) -> std::option::Option<_>`
|
method `subject_id` has an incompatible type for trait:
src/store/mod.rs#L595
error[E0053]: method `subject_id` has an incompatible type for trait
--> src/store/mod.rs:595:35
|
595 | fn subject_id(&self, subject: &str) -> Option<u64> {
| ^^^^
| |
| expected `layer::layer::Blankable<&str>`, found `&str`
| help: change the parameter type to match the trait: `layer::layer::Blankable<&str>`
|
note: type in trait
--> src/layer/layer.rs:27:35
|
27 | fn subject_id(&self, subject: Blankable<&str>) -> Option<u64>;
| ^^^^^^^^^^^^^^^
= note: expected signature `fn(&store::StoreLayer, layer::layer::Blankable<&str>) -> std::option::Option<_>`
found signature `fn(&store::StoreLayer, &str) -> std::option::Option<_>`
|
cannot find value `index_count` in this scope:
src/layer/simple_builder.rs#L332
error[E0425]: cannot find value `index_count` in this scope
--> src/layer/simple_builder.rs:332:46
|
332 | let mut indexes = Vec::with_capacity(index_count);
| ^^^^^^^^^^^ help: a local variable with a similar name exists: `node_count`
|
build-and-test (ubuntu-latest, bash)
Process completed with exit code 101.
|
clippy
Clippy had exited with the 101 exit code
|
build-and-test (windows-latest, msys2)
The job was canceled because "ubuntu-latest_bash" failed.
|
build-and-test (windows-latest, msys2)
The operation was canceled.
|
build-and-test (macos-latest, bash)
The job was canceled because "ubuntu-latest_bash" failed.
|
build-and-test (macos-latest, bash)
The operation was canceled.
|
this `else { if .. }` block can be collapsed:
src/storage/locking.rs#L55
warning: this `else { if .. }` block can be collapsed
--> src/storage/locking.rs:55:28
|
55 | } else {
| ____________________________^
56 | | if !cfg!(feature = "noreadlock") {
57 | | file.lock_shared()
58 | | .expect("failed to acquire exclusive lock")
59 | | }
60 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
55 ~ } else if !cfg!(feature = "noreadlock") {
56 + file.lock_shared()
57 + .expect("failed to acquire exclusive lock")
58 + }
|
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L592
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:592:41
|
592 | pub const CHILD_LAYER_OPTIONAL_FILES: [&'static str; 4] = [
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L558
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:558:41
|
558 | pub const CHILD_LAYER_REQUIRED_FILES: [&'static str; 31] = [
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L555
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:555:40
|
555 | pub const BASE_LAYER_OPTIONAL_FILES: [&'static str; 2] =
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L537
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:537:40
|
537 | pub const BASE_LAYER_REQUIRED_FILES: [&'static str; 15] = [
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L526
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:526:36
|
526 | pub const SHARED_OPTIONAL_FILES: [&'static str; 8] = [
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
|
constants have by default a `'static` lifetime:
src/storage/consts.rs#L515
warning: constants have by default a `'static` lifetime
--> src/storage/consts.rs:515:36
|
515 | pub const SHARED_REQUIRED_FILES: [&'static str; 8] = [
| -^^^^^^^---- help: consider removing `'static`: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes
= note: `#[warn(clippy::redundant_static_lifetimes)]` on by default
|
unused import: `crate::structure::TypedDictEntry`:
src/layer/simple_builder.rs#L15
warning: unused import: `crate::structure::TypedDictEntry`
--> src/layer/simple_builder.rs:15:5
|
15 | use crate::structure::TypedDictEntry;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
redundant field names in struct initialization:
src/layer/internal/subject_iterator.rs#L27
warning: redundant field names in struct initialization
--> src/layer/internal/subject_iterator.rs:27:13
|
27 | sp_o_adjacency_list: sp_o_adjacency_list,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `sp_o_adjacency_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/subject_iterator.rs#L26
warning: redundant field names in struct initialization
--> src/layer/internal/subject_iterator.rs:26:13
|
26 | s_p_adjacency_list: s_p_adjacency_list,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `s_p_adjacency_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/subject_iterator.rs#L25
warning: redundant field names in struct initialization
--> src/layer/internal/subject_iterator.rs:25:13
|
25 | subjects: subjects,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `subjects`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/object_iterator.rs#L28
warning: redundant field names in struct initialization
--> src/layer/internal/object_iterator.rs:28:13
|
28 | s_p_adjacency_list: s_p_adjacency_list,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `s_p_adjacency_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/object_iterator.rs#L27
warning: redundant field names in struct initialization
--> src/layer/internal/object_iterator.rs:27:13
|
27 | o_ps_adjacency_list: o_ps_adjacency_list,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `o_ps_adjacency_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/object_iterator.rs#L26
warning: redundant field names in struct initialization
--> src/layer/internal/object_iterator.rs:26:13
|
26 | objects: objects,
| ^^^^^^^^^^^^^^^^ help: replace it with: `objects`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
redundant field names in struct initialization:
src/layer/internal/object_iterator.rs#L25
warning: redundant field names in struct initialization
--> src/layer/internal/object_iterator.rs:25:13
|
25 | subjects: subjects,
| ^^^^^^^^^^^^^^^^^^ help: replace it with: `subjects`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|