Skip to content

Commit

Permalink
Allow unsafe code inside of await macro
Browse files Browse the repository at this point in the history
  • Loading branch information
cramertj committed Jun 22, 2018
1 parent b97ef26 commit f744ac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstd/macros.rs
Expand Up @@ -216,6 +216,7 @@ macro_rules! eprintln {
#[macro_export]
#[unstable(feature = "await_macro", issue = "50547")]
#[allow_internal_unstable]
#[allow_internal_unsafe]
macro_rules! await {
($e:expr) => { {
let mut pinned = $e;
Expand Down

0 comments on commit f744ac5

Please sign in to comment.