This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
f696fb51c3
rust
/
crates
/
syntax
/
test_data
/
parser
/
err
/
0045_item_modifiers.rs
3 lines
50 B
Rust
Raw
Normal View
History
Unescape
Escape
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 06:51:51 -06:00
unsafe
async
fn
foo
(
)
{
}
Parse unsafe async / const unsafe fns properly
2019-04-03 10:11:56 -05:00
unsafe
const
fn
bar
(
)
{
}
Reference in New Issue
Copy Permalink