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

[intra-doc links] Don't check feature gates of items re-exported across crates #82295

Merged
merged 1 commit into from
Feb 22, 2021

Commits on Feb 19, 2021

  1. [intra-doc links] Don't check feature gates of items re-exported acro…

    …ss crates
    
    It should be never break another crate to re-export a public item.
    
    Note that this doesn't check the feature gate at
    *all* for other crates:
    
    - Feature-gates aren't currently serialized, so the only way to check
      the gate is with ad-hoc attribute checking.
    - Checking the feature gate twice (once when documenting the original
      crate and one when documenting the current crate) seems not great.
    
    This should still catch using the feature most of the time though, since
    people tend to document their own crates.
    jyn514 committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    fdb32e9 View commit details
    Browse the repository at this point in the history