Skip to content

Commit f744ac5

Browse files
committed
Allow unsafe code inside of await macro
1 parent b97ef26 commit f744ac5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ macro_rules! eprintln {
216216
#[macro_export]
217217
#[unstable(feature = "await_macro", issue = "50547")]
218218
#[allow_internal_unstable]
219+
#[allow_internal_unsafe]
219220
macro_rules! await {
220221
($e:expr) => { {
221222
let mut pinned = $e;

0 commit comments

Comments
 (0)