- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Add check for doc alias attribute at crate level #76329
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
Conversation
0491b6b    to
    74a09f6      
    Compare
  
    74a09f6    to
    ca2a921      
    Compare
  
    | @ollie27 More information: it's actually pretty complicated to pass down the crate level because we try to run its components in parallel or want to filter the items we iterate over. I'm not sure there is a global fix for this, or at least don't see any obvious one... | 
bc15436    to
    e6771ab      
    Compare
  
    | ping @ollie27 | 
e6771ab    to
    de4a51e      
    Compare
  
    | Updated! | 
| ping @ollie27 | 
        
          
                src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs-error.rs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why were these removed? If they're now errors then they should be moved to issue-43106-gating-of-builtin-attrs-error.rs or another dedicated test to make sure they stay errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a check-pass kind of test. Creating another one test including all the newly failing ones.
| Apart from a few questions about the test changes this looks good to me. I'm going to hand this over this over to the compiler team though because this is not really a rustdoc change anymore and is introducing new errors. Also to make sure we haven't missed an obvious better way to check crate level attributes. | 
de4a51e    to
    7612512      
    Compare
  
    | I put back the checks into another file which is expected to fail. | 
| ☔ The latest upstream changes (presumably #77381) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:  | 
7612512    to
    7f0dea0      
    Compare
  
    | ☔ The latest upstream changes (presumably #77462) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:  | 
7f0dea0    to
    3bb8265      
    Compare
  
    | r? @oli-obk | 
        
          
                src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs-error.rs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs-error.rs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                src/test/ui/feature-gate/issue-43106-gating-of-builtin-attrs-error.stderr
              
                Outdated
          
            Show resolved
            Hide resolved
        
      3bb8265    to
    f30e772      
    Compare
  
    b18a5b2    to
    89c4898      
    Compare
  
    89c4898    to
    3641a37      
    Compare
  
    | Updated! | 
| @bors r+ | 
| 📌 Commit 3641a37 has been approved by  | 
Rollup of 11 pull requests Successful merges: - rust-lang#75853 (Use more intra-doc-links in `core::fmt`) - rust-lang#75928 (Remove trait_selection error message in specific case) - rust-lang#76329 (Add check for doc alias attribute at crate level) - rust-lang#77219 (core::global_allocator docs link to std::alloc::GlobalAlloc) - rust-lang#77395 (BTreeMap: admit the existence of leaf edges in comments) - rust-lang#77407 (Improve build-manifest to work with the improved promote-release) - rust-lang#77426 (Include scope id in SocketAddrV6::Display) - rust-lang#77439 (Fix missing diagnostic span for `impl Trait` with const generics, and add various tests for `min_const_generics` and `const_generics`) - rust-lang#77471 (BTreeMap: refactoring around edges, missed spots) - rust-lang#77512 (Allow `Abort` terminators in all const-contexts) - rust-lang#77514 (Replace some once(x).chain(once(y)) with [x, y] IntoIter) Failed merges: r? `@ghost`
Fix for rust-lang/rust#76329 being merged into the latest nightly.
Fixes #76298, #64734, #69365.
r? @ollie27