about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorDan Johnson <computerdruid@google.com>2022-08-18 16:27:16 -0700
committerDan Johnson <computerdruid@google.com>2022-09-21 19:26:23 -0700
commitd0a07495be4906db5028a605f650aafeabee1879 (patch)
treeeb997e8cd2fc091a68d4956eeb6e36285d2a2f39 /compiler/rustc_span/src
parent9062b780b32d2eab060b4432863e085d9504ca5c (diff)
downloadrust-d0a07495be4906db5028a605f650aafeabee1879.tar.gz
rust-d0a07495be4906db5028a605f650aafeabee1879.zip
Split out async_fn_in_trait into a separate feature
PR #101224 added support for async fn in trait desuraging behind the
return_position_impl_trait_in_trait feature.

Split this out so that it's behind its own feature gate, since async fn
in trait doesn't need to follow the same stabilization schedule.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 7785d29c15f..502ef67fc67 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -396,6 +396,7 @@ symbols! {
         assume_init,
         async_await,
         async_closure,
+        async_fn_in_trait,
         atomic,
         atomic_mod,
         atomics,