diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-02-08 10:21:21 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-02-11 15:09:05 +0100 |
| commit | bbe524d7c1a1028737a93c7c71c508a68363b681 (patch) | |
| tree | d041388e8e3d909aff50b6a36db99eb683231066 /src/libsyntax | |
| parent | b0cf52f6a52699be9ae6d2d01c3c172d55ad549e (diff) | |
Parallel rustc needs synchronizing smart pointer cloning
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/base.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index 7c6303b3d40..f7225810aca 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -622,7 +622,7 @@ pub enum SyntaxExtension { ProcMacro { expander: Box<dyn ProcMacro + sync::Sync + sync::Send>, /// Whitelist of unstable features that are treated as stable inside this macro - allow_internal_unstable: Option<Rc<[Symbol]>>, + allow_internal_unstable: Option<Lrc<[Symbol]>>, edition: Edition, }, @@ -642,7 +642,7 @@ pub enum SyntaxExtension { /// directly use `#[unstable]` things. /// /// Only allows things that require a feature gate in the given whitelist - allow_internal_unstable: Option<Rc<[Symbol]>>, + allow_internal_unstable: Option<Lrc<[Symbol]>>, /// Whether the contents of the macro can use `unsafe` /// without triggering the `unsafe_code` lint. allow_internal_unsafe: bool, @@ -660,7 +660,7 @@ pub enum SyntaxExtension { IdentTT { expander: Box<dyn IdentMacroExpander + sync::Sync + sync::Send>, span: Option<Span>, - allow_internal_unstable: Option<Rc<[Symbol]>>, + allow_internal_unstable: Option<Lrc<[Symbol]>>, }, /// An attribute-like procedural macro. TokenStream -> TokenStream. |
