Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert cfg(doc) #20

Merged
merged 2 commits into from
Nov 1, 2023
Merged

Revert cfg(doc) #20

merged 2 commits into from
Nov 1, 2023

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 1, 2023

This reverts PR #10 / issue #6. Since rust-lang/rust#117450 in nightly-2023-11-01, it no longer works.

$ cargo doc

error[E0392]: parameter `T` is never used
 --> src/main.rs:4:18
  |
4 | struct MyPhantom<T>;
  |                  ^ unused parameter
  |
  = help: consider removing `T`, referring to it in a field, or using a marker such as `std::marker::PhantomData`
  = help: if you intended `T` to be a const parameter, use `const T: usize` instead

@dtolnay dtolnay merged commit 31a91f1 into master Nov 1, 2023
17 checks passed
@dtolnay dtolnay deleted the nocfgdoc branch November 1, 2023 05:27
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.

None yet

1 participant