Skip to content

v0.8: Prepare for the next release#1073

Merged
taiki-e merged 7 commits intov0.8from
v0.8-next
Jan 8, 2024
Merged

v0.8: Prepare for the next release#1073
taiki-e merged 7 commits intov0.8from
v0.8-next

Conversation

@taiki-e
Copy link
Member

@taiki-e taiki-e commented Jan 8, 2024

```
warning: field `0` is never read
   --> crossbeam-epoch/src/collector.rs:290:21
    |
290 |         struct Elem(i32);
    |                ---- ^^^
    |                |
    |                field in this struct
    |
    = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
290 |         struct Elem(());
    |                     ~~

warning: field `0` is never read
   --> crossbeam-epoch/src/collector.rs:354:21
    |
354 |         struct Elem(i32);
    |                ---- ^^^
    |                |
    |                field in this struct
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
354 |         struct Elem(());
    |                     ~~

warning: field `0` is never read
   --> crossbeam-epoch/src/collector.rs:431:21
    |
431 |         struct Elem(i32);
    |                ---- ^^^
    |                |
    |                field in this struct
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
431 |         struct Elem(());
    |                     ~~

warning: field `0` is never read
 --> crossbeam-utils/tests/atomic_cell.rs:9:22
  |
9 |     struct UsizeWrap(usize);
  |            --------- ^^^^^
  |            |
  |            field in this struct
  |
  = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
  |
9 |     struct UsizeWrap(());
  |                      ~~

warning: field `0` is never read
  --> crossbeam-utils/tests/atomic_cell.rs:10:19
   |
10 |     struct U8Wrap(bool);
   |            ------ ^^^^
   |            |
   |            field in this struct
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
10 |     struct U8Wrap(());
   |                   ~~

warning: field `0` is never read
  --> crossbeam-utils/tests/atomic_cell.rs:11:20
   |
11 |     struct I16Wrap(i16);
   |            ------- ^^^
   |            |
   |            field in this struct
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
11 |     struct I16Wrap(());
   |                    ~~

warning: field `0` is never read
  --> crossbeam-utils/tests/atomic_cell.rs:13:22
   |
13 |     struct U64Align8(u64);
   |            --------- ^^^
   |            |
   |            field in this struct
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
13 |     struct U64Align8(());
   |                      ~~

warning: field `0` is never read
 --> crossbeam-channel/benchmarks/message.rs:6:27
  |
6 | pub(crate) struct Message(pub(crate) [usize; LEN]);
  |                   ------- ^^^^^^^^^^^^^^^^^^^^^^^
  |                   |
  |                   field in this struct
  |
  = note: `Message` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
  = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
  |
6 | pub(crate) struct Message(());
  |                           ~~
```
The current one does not cause real problems at this time because the
size allocated is large enough, but it's better to use the more correct
one.
- crossbeam-channel 0.5.10 -> 0.5.11
- crossbeam-deque 0.8.4 -> 0.8.5
- crossbeam-epoch 0.9.17 -> 0.9.18
- crossbeam-queue 0.3.10 -> 0.3.11
- crossbeam-utils 0.8.18 -> 0.8.19
- crossbeam 0.8.3 -> 0.8.4
@taiki-e taiki-e merged commit 9c3182a into v0.8 Jan 8, 2024
@taiki-e taiki-e deleted the v0.8-next branch January 8, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant