- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Point out incompatible closure bounds #101360
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
Point out incompatible closure bounds #101360
Conversation
| r? @fee1-dead (rust-highfive has picked a reviewer for you, use r? to override) | 
        
          
                compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.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.
I haven't dealt with anonymize_* functions at all, but the implementation looks good to me on a glance.
Rerolling.
      
        
              This comment was marked as duplicate.
        
        
      
    
  This comment was marked as duplicate.
| r? rust-lang/compiler | 
| 
 Same. | 
| Could you maybe move the added code to a separate function (with a comment briefly describing which cases it covers)? | 
86fd252    to
    ce836c8      
    Compare
  
    | @rustbot ready | 
| @bors r+ | 
| 📌 Commit ce836c8f30903fbff9395767c40478a016ac5e97 has been approved by  It is now in the queue for this repository. | 
| ⌛ Testing commit ce836c8f30903fbff9395767c40478a016ac5e97 with merge 95d55b18c54903690216e1b17b81e376c5889363... | 
| 💔 Test failed - checks-actions | 
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
ce836c8    to
    6934853      
    Compare
  
    | just needed to rebase a PR that relabeled lifetimes in binders, which changed the UI output. @bors r=petrochenkov | 
…ounds, r=petrochenkov Point out incompatible closure bounds Fixes rust-lang#100295
…ounds, r=petrochenkov Point out incompatible closure bounds Fixes rust-lang#100295
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#101360 (Point out incompatible closure bounds) - rust-lang#101789 (`let`'s not needed in struct field definitions) - rust-lang#102846 (update to syn-1.0.102) - rust-lang#102871 (rustdoc: clean up overly complex `.trait-impl` CSS selectors) - rust-lang#102876 (suggest candidates for unresolved import) - rust-lang#102888 (Improve rustdoc-gui search-color test) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #100295