- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.9k
 
          Allow using Range as an Iterator in const contexts. 
          #104100
        
          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
| 
           r? @scottmcm (rustbot has picked a reviewer for you, use r? to override)  | 
    
| 
           @rustbot label +T-libs-api -T-libs  | 
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
168afe6    to
    c6daf89      
    Compare
  
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
| 
           #104113 should fix the build failure  | 
    
| 
           ☔ The latest upstream changes (presumably #104138) made this pull request unmergeable. Please resolve the merge conflicts.  | 
    
c6daf89    to
    be4dfe6      
    Compare
  
    | 
           ☔ The latest upstream changes (presumably #104246) made this pull request unmergeable. Please resolve the merge conflicts.  | 
    
be4dfe6    to
    6f6e9ca      
    Compare
  
    | 
           ☔ The latest upstream changes (presumably #104370) made this pull request unmergeable. Please resolve the merge conflicts.  | 
    
c46b110    to
    835b21c      
    Compare
  
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
835b21c    to
    7799ca0      
    Compare
  
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
713266c    to
    50e63de      
    Compare
  
    | 
           ☔ The latest upstream changes (presumably #102795) made this pull request unmergeable. Please resolve the merge conflicts.  | 
    
50e63de    to
    b277c30      
    Compare
  
    
      
        
              This comment has been minimized.
        
        
      
    
  This comment has been minimized.
| 
           ☔ The latest upstream changes (presumably #105512) made this pull request unmergeable. Please resolve the merge conflicts.  | 
    
| 
           Modulo the  Handing off to @fee1-dead for the "do we want this in const eval" part (which probably is a rubber-stamp).  | 
    
ca30cbd    to
    03b07a9      
    Compare
  
    | 
           LGTM after fixing CI  | 
    
…heck, implement const Iterator and DoubleEndedIterator for Range.
03b07a9    to
    8a9d6bf      
    Compare
  
    | 
           @bors r=the8472,fee1-dead  | 
    
Rollup of 10 pull requests Successful merges: - rust-lang#104100 (Allow using `Range` as an `Iterator` in const contexts. ) - rust-lang#105793 (Add note for mismatched types because of circular dependencies) - rust-lang#108798 (move default backtrace setting to sys) - rust-lang#108829 (Use Edition 2021 :pat in matches macro) - rust-lang#108973 (Beautify pin! docs) - rust-lang#109003 (Add `useless_anonymous_reexport` lint) - rust-lang#109022 (read_buf_exact: on error, all read bytes are appended to the buffer) - rust-lang#109212 (fix: don't suggest similar method when unstable) - rust-lang#109243 (The name of NativeLib will be presented) - rust-lang#109324 (Implement FixedSizeEncoding for UnusedGenericParams.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
[rust-lang/rust#104100][1] has implemented `std::ops::Range: const Iterator`, resolving `[tag:range_const_iterator]`. [1]: rust-lang/rust#104100
| 
           FYI this change broke the objc2 crate madsmtm/objc2#432  | 
    
| 
           You should open an issue for that, comments on merged PRs won't get much attention.  | 
    
…Mark-Simulacrum Revert rust-lang#104100, Allow using `Range` as an `Iterator` in const contexts. This fixes rust-lang#109632.
based on #102225 by @fee1-dead