- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Only get ImplKind::Impl once #76783
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
          
     Merged
      
      
    
                
     Merged
            
            Only get ImplKind::Impl once #76783
Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | (rust_highfive has picked a reviewer for you, use r? to override) | 
| Do you have a test to confirm it too please? :) Otherwise looks good to me! | 
| I don't know how to write tests for this :p . It is just obvious at source level, | 
              
                    GuillaumeGomez
  
              
              approved these changes
              
                  
                    Sep 16, 2020 
                  
              
              
            
            
| r=me once CI is green. :) | 
| @bors r=GuillaumeGomez | 
| 📌 Commit eede953 has been approved by  | 
    
  Dylan-DPC-zz 
      pushed a commit
        to Dylan-DPC-zz/rust
      that referenced
      this pull request
    
      Sep 19, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  Dylan-DPC-zz 
      pushed a commit
        to Dylan-DPC-zz/rust
      that referenced
      this pull request
    
      Sep 19, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  Dylan-DPC-zz 
      pushed a commit
        to Dylan-DPC-zz/rust
      that referenced
      this pull request
    
      Sep 20, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  RalfJung 
      added a commit
        to RalfJung/rust
      that referenced
      this pull request
    
      Sep 20, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  Dylan-DPC-zz 
      pushed a commit
        to Dylan-DPC-zz/rust
      that referenced
      this pull request
    
      Sep 21, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  Dylan-DPC-zz 
      pushed a commit
        to Dylan-DPC-zz/rust
      that referenced
      this pull request
    
      Sep 22, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  ecstatic-morse 
      added a commit
        to ecstatic-morse/rust
      that referenced
      this pull request
    
      Sep 22, 2020 
    
    
      
  
    
      
    
  
Only get ImplKind::Impl once With this, the code panics in one place instead of two.
    
  bors 
      added a commit
        to rust-lang-ci/rust
      that referenced
      this pull request
    
      Sep 22, 2020 
    
    
      
  
    
      
    
  
…atic-morse Rollup of 13 pull requests Successful merges: - rust-lang#72734 (Reduce duplicate in liballoc reserve error handling) - rust-lang#76131 (Don't use `zip` to compare iterators during pretty-print hack) - rust-lang#76150 (Don't recommend ManuallyDrop to customize drop order) - rust-lang#76275 (Implementation of Write for some immutable ref structs) - rust-lang#76489 (Add explanation for E0756) - rust-lang#76581 (do not ICE on bound variables, return `TooGeneric` instead) - rust-lang#76655 (Make some methods of `Pin` unstable const) - rust-lang#76783 (Only get ImplKind::Impl once) - rust-lang#76807 (Use const-checking to forbid use of unstable features in const-stable functions) - rust-lang#76888 (use if let instead of single match arm expressions) - rust-lang#76914 (extend `Ty` and `TyCtxt` lints to self types) - rust-lang#77022 (Reduce boilerplate for BytePos and CharPos) - rust-lang#77032 (lint missing docs for extern items) Failed merges: r? `@ghost`
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
      
    S-waiting-on-bors
  Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 
  
    T-rustdoc
  Relevant to the rustdoc team, which will review and decide on the PR/issue. 
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
With this, the code panics in one place instead of two.