Skip to content

Merge remote-tracking branch 'origin/develop' into develop #36

Merge remote-tracking branch 'origin/develop' into develop

Merge remote-tracking branch 'origin/develop' into develop #36

Triggered via push September 27, 2024 20:22
Status Success
Total duration 3m 50s
Artifacts 3

development.yml

on: push
Matrix: Test / Build & Test
Matrix: Coverage / Coverage
Analyze  /  Check | Clippy
33s
Analyze / Check | Clippy
Analyze  /  Check | Audit
25s
Analyze / Check | Audit
Release  /  Get Version
4s
Release / Get Version
Analyze  /  Format Code
8s
Analyze / Format Code
Release  /  Create Pre Release
0s
Release / Create Pre Release
Release  /  Create Release Pull Request
0s
Release / Create Release Pull Request
Fit to window
Zoom out
Zoom in

Annotations

91 warnings
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/import_ambiguous/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/import_ambiguous/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists2/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists2/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits2/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits2/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/arrays/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/arrays/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs#L187
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs:187:5 | 187 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L1196
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:1196:5 | 1196 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L1065
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:1065:5 | 1065 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L936
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:936:5 | 936 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L807
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:807:5 | 807 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L678
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:678:5 | 678 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L549
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:549:5 | 549 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L418
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:418:5 | 418 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L287
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:287:5 | 287 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L156
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:156:5 | 156 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/enums/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/enums/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/struct_arrays/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/struct_arrays/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/views/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/views/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L689
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:689:5 | 689 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L529
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:529:5 | 529 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L295
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:295:5 | 295 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
unsafe function's docs are missing a `# Safety` section: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L25
warning: unsafe function's docs are missing a `# Safety` section --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:25:5 | 25 | pub unsafe fn new_unchecked(data: T) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc = note: `#[warn(clippy::missing_safety_doc)]` on by default
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/import_ambiguous/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/import_ambiguous/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists2/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists2/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits2/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits2/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/lists/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/arrays/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/arrays/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs#L188
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs:188:16 | 188 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/unions2/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L1197
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:1197:16 | 1197 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L1066
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:1066:16 | 1066 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L937
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:937:16 | 937 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L808
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:808:16 | 808 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L679
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:679:16 | 679 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L550
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:550:16 | 550 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L419
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:419:16 | 419 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L288
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:288:16 | 288 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L157
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:157:16 | 157 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/values/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/enums/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/enums/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/struct_arrays/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/struct_arrays/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/views/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/views/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/bits/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L690
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:690:16 | 690 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L530
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:530:16 | 530 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L296
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:296:16 | 296 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
redundant field names in struct initialization: /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs#L26
warning: redundant field names in struct initialization --> /home/runner/work/tools.proto/tools.proto/target/debug/build/testprog-3135b7406c47ef37/out/structs/structures.rs:26:16 | 26 | Self { data: data } | ^^^^^^^^^^ help: replace it with: `data` | = 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
this expression creates a reference which is immediately dereferenced by the compiler: cli/src/builder.rs#L55
warning: this expression creates a reference which is immediately dereferenced by the compiler --> cli/src/builder.rs:55:66 | 55 | let (context, mut generator) = Generator::new(protocols, &output, generator); | ^^^^^^^ help: change this to: `output` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/tools/mod.rs#L67
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/tools/mod.rs:67:50 | 67 | Self::generate(&generator, &mut context, &config)?; | ^^^^^^^ help: change this to: `config` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the following explicit lifetimes could be elided: 'a: compiler/src/api/tools/mod.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> compiler/src/api/tools/mod.rs:50:17 | 50 | fn generate<'a, 'b>( | ^^ 51 | generator: &'b Generator<'a, Self::Solver, Self::Generator>, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 ~ fn generate<'b>( 51 ~ generator: &'b Generator<'_, Self::Solver, Self::Generator>, |
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/tools/mod.rs#L67
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/tools/mod.rs:67:50 | 67 | Self::generate(&generator, &mut context, &config)?; | ^^^^^^^ help: change this to: `config` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the following explicit lifetimes could be elided: 'a: compiler/src/api/tools/mod.rs#L50
warning: the following explicit lifetimes could be elided: 'a --> compiler/src/api/tools/mod.rs:50:17 | 50 | fn generate<'a, 'b>( | ^^ 51 | generator: &'b Generator<'a, Self::Solver, Self::Generator>, | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 50 ~ fn generate<'b>( 51 ~ generator: &'b Generator<'_, Self::Solver, Self::Generator>, |
the following explicit lifetimes could be elided: 'a: compiler/src/api/tools/rust.rs#L52
warning: the following explicit lifetimes could be elided: 'a --> compiler/src/api/tools/rust.rs:52:17 | 52 | fn generate<'a, 'b>( | ^^ 53 | generator: &'b Generator<'a, Self::Solver, Self::Generator>, | ^^ | = 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 | 52 ~ fn generate<'b>( 53 ~ generator: &'b Generator<'_, Self::Solver, Self::Generator>, |
length comparison to zero: compiler/src/api/core/loader.rs#L104
warning: length comparison to zero --> compiler/src/api/core/loader.rs:104:31 | 104 | if iterations == 0 && self.models.len() > 0 { | ^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.models.is_empty()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero = note: `#[warn(clippy::len_zero)]` on by default
the following explicit lifetimes could be elided: 'a: compiler/src/api/tools/rust.rs#L52
warning: the following explicit lifetimes could be elided: 'a --> compiler/src/api/tools/rust.rs:52:17 | 52 | fn generate<'a, 'b>( | ^^ 53 | generator: &'b Generator<'a, Self::Solver, Self::Generator>, | ^^ | = 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 | 52 ~ fn generate<'b>( 53 ~ generator: &'b Generator<'_, Self::Solver, Self::Generator>, |
the borrowed expression implements the required traits: compiler/src/api/core/loader.rs#L59
warning: the borrowed expression implements the required traits --> compiler/src/api/core/loader.rs:59:37 | 59 | self.load_from_file(&file.path(), package)? | ^^^^^^^^^^^^ help: change this to: `file.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/core/generator.rs#L186
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/core/generator.rs:186:78 | 186 | let umbrella = G::generate_umbrella(name, iter.iter().map(|v| &**v), &generator_params) | ^^^^^^^^^^^^^^^^^ help: change this to: `generator_params` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
length comparison to zero: compiler/src/api/core/loader.rs#L104
warning: length comparison to zero --> compiler/src/api/core/loader.rs:104:31 | 104 | if iterations == 0 && self.models.len() > 0 { | ^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.models.is_empty()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero = note: `#[warn(clippy::len_zero)]` on by default
the borrowed expression implements the required traits: compiler/src/api/core/generator.rs#L157
warning: the borrowed expression implements the required traits --> compiler/src/api/core/generator.rs:157:48 | 157 | let out_path = self.out_directory.join(&name); | ^^^^^ help: change this to: `name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/core/generator.rs#L156
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/core/generator.rs:156:43 | 156 | let files = G::generate(protocol, &generator_params).map_err(|e| Error::Generator(e.to_string()))?; | ^^^^^^^^^^^^^^^^^ help: change this to: `generator_params` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: compiler/src/api/core/loader.rs#L59
warning: the borrowed expression implements the required traits --> compiler/src/api/core/loader.rs:59:37 | 59 | self.load_from_file(&file.path(), package)? | ^^^^^^^^^^^^ help: change this to: `file.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/core/generator.rs#L186
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/core/generator.rs:186:78 | 186 | let umbrella = G::generate_umbrella(name, iter.iter().map(|v| &**v), &generator_params) | ^^^^^^^^^^^^^^^^^ help: change this to: `generator_params` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: compiler/src/api/core/generator.rs#L157
warning: the borrowed expression implements the required traits --> compiler/src/api/core/generator.rs:157:48 | 157 | let out_path = self.out_directory.join(&name); | ^^^^^ help: change this to: `name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/api/core/generator.rs#L156
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/api/core/generator.rs:156:43 | 156 | let files = G::generate(protocol, &generator_params).map_err(|e| Error::Generator(e.to_string()))?; | ^^^^^^^^^^^^^^^^^ help: change this to: `generator_params` | = 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: compiler/src/gen/swift/mod.rs#L76
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:76:70 | 76 | let decl_unions = proto.unions.iter().map(|v| gen_union_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L75
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:75:93 | 75 | let impl_write_messages_code = proto.messages.iter().map(|v| gen_message_write_impl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L74
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:74:103 | 74 | let impl_from_slice_messages_code = proto.messages.iter().map(|v| gen_message_from_slice_impl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L73
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:73:81 | 73 | let decl_messages_code = proto.messages.iter().map(|v| gen_message_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L72
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:72:67 | 72 | let decl_enums = proto.enums.iter().map(|v| gen_enum_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L71
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:71:79 | 71 | let decl_structures = proto.structs.iter().map(|v| gen_structure_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: compiler/src/gen/swift/mod.rs#L76
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:76:70 | 76 | let decl_unions = proto.unions.iter().map(|v| gen_union_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L75
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:75:93 | 75 | let impl_write_messages_code = proto.messages.iter().map(|v| gen_message_write_impl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L74
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:74:103 | 74 | let impl_from_slice_messages_code = proto.messages.iter().map(|v| gen_message_from_slice_impl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L73
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:73:81 | 73 | let decl_messages_code = proto.messages.iter().map(|v| gen_message_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L72
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:72:67 | 72 | let decl_enums = proto.enums.iter().map(|v| gen_enum_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = 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: compiler/src/gen/swift/mod.rs#L71
warning: this expression creates a reference which is immediately dereferenced by the compiler --> compiler/src/gen/swift/mod.rs:71:79 | 71 | let decl_structures = proto.structs.iter().map(|v| gen_structure_decl(&proto, v)); | ^^^^^^ help: change this to: `proto` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: compiler/src/gen/rust/util.rs#L94
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> compiler/src/gen/rust/util.rs:94:36 | 94 | pub fn to_string_with_defaults(self) -> Cow<'a, str> { | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: compiler/src/gen/rust/util.rs#L74
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> compiler/src/gen/rust/util.rs:74:22 | 74 | pub fn to_string(self) -> Cow<'a, str> { | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
this lifetime isn't used in the impl: compiler/src/gen/rust/solver.rs#L34
warning: this lifetime isn't used in the impl --> compiler/src/gen/rust/solver.rs:34:6 | 34 | impl<'a> ImportSolver for RustImportSolver { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: compiler/src/gen/rust/util.rs#L94
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> compiler/src/gen/rust/util.rs:94:36 | 94 | pub fn to_string_with_defaults(self) -> Cow<'a, str> { | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: compiler/src/gen/rust/util.rs#L74
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> compiler/src/gen/rust/util.rs:74:22 | 74 | pub fn to_string(self) -> Cow<'a, str> { | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
this lifetime isn't used in the impl: compiler/src/gen/rust/solver.rs#L34
warning: this lifetime isn't used in the impl --> compiler/src/gen/rust/solver.rs:34:6 | 34 | impl<'a> ImportSolver for RustImportSolver { | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
this `impl` can be derived: compiler/src/gen/template/options.rs#L37
warning: this `impl` can be derived --> compiler/src/gen/template/options.rs:37:1 | 37 | / impl<'a> Default for Options<'a> { 38 | | fn default() -> Self { 39 | | Self { 40 | | function_map: FunctionMap::default(), ... | 43 | | } 44 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it | 32 + #[derive(Default)] 33 | pub struct Options<'a> { |
this `impl` can be derived: compiler/src/gen/template/options.rs#L37
warning: this `impl` can be derived --> compiler/src/gen/template/options.rs:37:1 | 37 | / impl<'a> Default for Options<'a> { 38 | | fn default() -> Self { 39 | | Self { 40 | | function_map: FunctionMap::default(), ... | 43 | | } 44 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it | 32 + #[derive(Default)] 33 | pub struct Options<'a> { |
use of `or_insert` to construct default value: compiler/src/gen/hook.rs#L102
warning: use of `or_insert` to construct default value --> compiler/src/gen/hook.rs:102:42 | 102 | let entry = self.map.entry(name).or_insert(Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
use of `or_insert` to construct default value: compiler/src/gen/hook.rs#L102
warning: use of `or_insert` to construct default value --> compiler/src/gen/hook.rs:102:42 | 102 | let entry = self.map.entry(name).or_insert(Vec::new()); | ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
you should consider adding a `Default` implementation for `ObjectStore<T>`: compiler/src/compiler/util/store.rs#L41
warning: you should consider adding a `Default` implementation for `ObjectStore<T>` --> compiler/src/compiler/util/store.rs:41:5 | 41 | / pub fn new() -> Self { 42 | | Self { 43 | | objects: Vec::new(), 44 | | objects_by_name: IndexMap::new(), 45 | | objects_imports: HashMap::new(), 46 | | } 47 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 40 + impl<T: bp3d_util::index_map::Index<Key = str>> Default for ObjectStore<T> { 41 + fn default() -> Self { 42 + Self::new() 43 + } 44 + } |
you should consider adding a `Default` implementation for `ObjectStore<T>`: compiler/src/compiler/util/store.rs#L41
warning: you should consider adding a `Default` implementation for `ObjectStore<T>` --> compiler/src/compiler/util/store.rs:41:5 | 41 | / pub fn new() -> Self { 42 | | Self { 43 | | objects: Vec::new(), 44 | | objects_by_name: IndexMap::new(), 45 | | objects_imports: HashMap::new(), 46 | | } 47 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 40 + impl<T: bp3d_util::index_map::Index<Key = str>> Default for ObjectStore<T> { 41 + fn default() -> Self { 42 + Self::new() 43 + } 44 + } |

Artifacts

Produced during runtime
Name Size
coverage-macos-12
295 KB
coverage-ubuntu-20.04
295 KB
coverage-windows-2019
293 KB