about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/basic.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-30 21:57:30 +0200
committerGitHub <noreply@github.com>2019-06-30 21:57:30 +0200
commit43eba5fef287cfcd63b36321900d546be9496476 (patch)
treef7261e5e2bd80050f575d4bc9be69da46a69db85 /src/test/rustdoc-ui/coverage/basic.rs
parent690f9e422ec6e7fdce8dfb7ee1b35cdddede409d (diff)
parentce1d95af4c1b179536c3c0daccd62946ef20b006 (diff)
downloadrust-43eba5fef287cfcd63b36321900d546be9496476.tar.gz
rust-43eba5fef287cfcd63b36321900d546be9496476.zip
Rollup merge of #62241 - Centril:fix-async-unsafe-order, r=petrochenkov
Always parse 'async unsafe fn' + properly ban in 2015

Parse `async unsafe fn` not `unsafe async fn` in implementations. We also take the opportunity to properly ban `async fn` in Rust 2015 when they are inside implementations.

Closes https://github.com/rust-lang/rust/issues/62232.

cc https://github.com/rust-lang/rust/pull/61319, https://github.com/rust-lang/rust/issues/62121, and https://github.com/rust-lang/rust/issues/62149.

r? @petrochenkov
Diffstat (limited to 'src/test/rustdoc-ui/coverage/basic.rs')
0 files changed, 0 insertions, 0 deletions