- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Cancel unemitted diagnostics during error recovery #62666
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
            
            
          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
    
  
  
    
    
              
                    eddyb
  
              
              approved these changes
              
                  
                    Jul 16, 2019 
                  
              
              
            
            
| @bors r+ | 
| 📌 Commit f05dfe0 has been approved by  | 
    
  Mark-Simulacrum 
      added a commit
        to Mark-Simulacrum/rust
      that referenced
      this pull request
    
      Jul 16, 2019 
    
    
      
  
    
      
    
  
Cancel unemitted diagnostics during error recovery Follow up to rust-lang#62604. Use @eddyb's preferred style and catch other case of the same problem. r? @eddyb
    
  bors 
      added a commit
      that referenced
      this pull request
    
      Jul 16, 2019 
    
    
      
  
    
      
    
  
Rollup of 6 pull requests Successful merges: - #62666 (Cancel unemitted diagnostics during error recovery) - #62683 (Chapter for `param_attrs`) - #62693 (ci: Remove Travis/AppVeyor configuration) - #62702 (normalize use of backticks in compiler messages for libsyntax_ext) - #62703 (normalize use of backticks in compiler messages for libsyntax/parse) - #62722 (ci: Bump time limit of tools builder on PRs) Failed merges: r? @ghost
    
  bors 
      added a commit
      that referenced
      this pull request
    
      Jul 22, 2019 
    
    
      
  
    
      
    
  
[beta] Rollup backports Cherry picked: * rustc_target: avoid negative register counts in the SysV x86_64 ABI. #62380 * Fix ICEs when `Self` is used in type aliases #62417 * Raise the default recursion limit to 128 #62450 * Handle errors during error recovery gracefully #62604 * Correctly break out of recovery loop #62607 * Cancel unemitted diagnostics during error recovery #62666 * ci: pin awscli dependencies #62856 * Ensure that checkout is with \n line endings #62564 Rolled up: * [beta] Backport #62615 #62793 * [beta] Fix #62660 #62792 r? @ghost
    
  bors 
      added a commit
      that referenced
      this pull request
    
      Jul 22, 2019 
    
    
      
  
    
      
    
  
[beta] Rollup backports Cherry picked: * rustc_target: avoid negative register counts in the SysV x86_64 ABI. #62380 * Fix ICEs when `Self` is used in type aliases #62417 * Raise the default recursion limit to 128 #62450 * Handle errors during error recovery gracefully #62604 * Correctly break out of recovery loop #62607 * Cancel unemitted diagnostics during error recovery #62666 * ci: pin awscli dependencies #62856 * Ensure that checkout is with \n line endings #62564 Rolled up: * [beta] Backport #62615 #62793 * [beta] Fix #62660 #62792 r? @ghost
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      Labels
      
    beta-accepted
  Accepted for backporting to the compiler in the beta channel. 
  
    S-waiting-on-bors
  Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 
  
    T-compiler
  Relevant to the compiler 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.
  
    
  
    
Follow up to #62604. Use @eddyb's preferred style and catch other case of the same problem.
r? @eddyb