Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
0650f77dd9defaf352f81c5ee4ee73a1eae942b7
rust/crates/syntax/test_data/parser/err/0045_item_modifiers.rs

3 lines
50 B
Rust
Raw Normal View History

Update async unsafe fn ordering. As of rust-lang/rust#61319 the correct order for functions that are both unsafe and async is: `async unsafe fn` and not `unsafe async fn`. This commit updates the parser tests to reflect this, and corrects parsing behavior to accept the correct ordering. Fixes #3025
2020-02-07 13:51:51 +01:00
unsafe async fn foo() {}
Parse unsafe async / const unsafe fns properly
2019-04-03 17:11:56 +02:00
unsafe const fn bar() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 356ms Template: 3ms
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