Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/99566.rs: fixed with errors #1389

Merged
merged 1 commit into from
Aug 15, 2022
Merged

ices/99566.rs: fixed with errors #1389

merged 1 commit into from
Aug 15, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#99566

#![feature(closure_lifetime_binder)]

fn main() {
    for<const N: i32> || -> () {};    
}
=== stdout ===
=== stderr ===
error: only lifetime parameters can be used in this context
 --> /home/runner/work/glacier/glacier/ices/99566.rs:4:15
  |
4 |     for<const N: i32> || -> () {};    
  |               ^

error: aborting due to previous error

==============

=== stdout ===
=== stderr ===
error: only lifetime parameters can be used in this context
 --> /home/runner/work/glacier/glacier/ices/99566.rs:4:15
  |
4 |     for<const N: i32> || -> () {};    
  |               ^

error: aborting due to previous error

==============
@JohnTitor JohnTitor merged commit 5aa4928 into master Aug 15, 2022
@JohnTitor JohnTitor deleted the autofix/ices/99566.rs branch August 15, 2022 12:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants