about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-04-07 18:06:53 -0700
committerEric Holk <ericholk@microsoft.com>2022-09-12 16:55:55 -0700
commiteff35e59c698df379806add4c9f2c1d8d3fe55ca (patch)
tree66d66c6c1604d75452a40ddb9b1f2e0d87ef86aa /compiler/rustc_span/src
parentfa6ee9375242ae784dab1837dfc0b92f43e787ce (diff)
downloadrust-eff35e59c698df379806add4c9f2c1d8d3fe55ca.tar.gz
rust-eff35e59c698df379806add4c9f2c1d8d3fe55ca.zip
Introduce dyn_star feature flag
The primary purpose of this commit is to introduce the
dyn_star flag so we can begin experimenting with implementation.

In order to have something to do in the feature gate test, we also add
parser support for `dyn* Trait` objects. These are currently treated
just like `dyn Trait` objects, but this will change in the future.

Note that for now `dyn* Trait` is experimental syntax to enable
implementing some of the machinery needed for async fn in dyn traits
without fully supporting the feature.
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 871bc5c1cdb..aeb535352f6 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -649,6 +649,7 @@ symbols! {
         dropck_parametricity,
         dylib,
         dyn_metadata,
+        dyn_star,
         dyn_trait,
         e,
         edition_macro_pats,