Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
901b340c1f5d208561d4261cc3ee634973b35326
rust/tests/ui/closures/binder/async-closure-with-binder.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
143 B
Rust
Raw Normal View History

Parse closure binders This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
2022-06-02 20:15:05 +04:00
//@ edition:2021
Bless tests, add comments
2024-01-25 03:50:23 +00:00
//@ check-pass
Parse closure binders This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
2022-06-02 20:15:05 +04:00
#![feature(closure_lifetime_binder)]
#![feature(async_closure)]
Bless tests, add comments
2024-01-25 03:50:23 +00:00
Parse closure binders This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
2022-06-02 20:15:05 +04:00
fn main() {
Bless tests, add comments
2024-01-25 03:50:23 +00:00
for<'a> async || -> () {};
Parse closure binders This is first step in implementing RFC 3216. - Parse `for<'a>` before closures in ast - Error in lowering - Add `closure_lifetime_binder` feature
2022-06-02 20:15:05 +04:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 997ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API