Skip to content

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Mar 12, 2024

Since rust-lang/rust#121752 in nightly-2024-03-12, rustc reports the following pair of dead_code warnings in build/probe.rs, which makes it look as though error_generic_member_access is not available when using RUSTFLAGS=-Dwarnings (such as in CI).

warning: struct `MyError` is never constructed
  --> build/probe.rs:11:8
   |
11 | struct MyError(Thing);
   |        ^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: struct `Thing` is never constructed
  --> build/probe.rs:12:8
   |
12 | struct Thing;
   |        ^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant