Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 19, 2021

The fields in the InvalidEvent struct are used by the Debug implementation, which is used by the anyhow!() macro call in the Event::send() implementation.

The Rust v1.57.0-beta.1 compiler does not appear to agree on that though and marks these fields as unused. This PR adds #[allow(dead_code)] to work around the issue for now and fix our CI builds to unblock other updates.

@Turbo87 Turbo87 added A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Oct 19, 2021
@Turbo87
Copy link
Member Author

Turbo87 commented Oct 19, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Oct 19, 2021

📌 Commit 2f3988e has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Oct 19, 2021

⌛ Testing commit 2f3988e with merge d5db0ab...

@bors
Copy link
Contributor

bors commented Oct 19, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing d5db0ab to master...

@Turbo87
Copy link
Member Author

Turbo87 commented Oct 19, 2021

for reference, this got reported at rust-lang/rust#90046 and it looks like there was also a previous issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants