diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2019-08-25 20:58:03 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-09-05 15:07:16 +0100 |
| commit | 4082cd95a8de6c8244e9b44908f9859e75acdeea (patch) | |
| tree | f4a1a17db0cdd7dd70efc59f0acbb5bb0ade4f44 /src/libsyntax_pos | |
| parent | 0133941f47b039d652f5d9f2617b7d3884298515 (diff) | |
| download | rust-4082cd95a8de6c8244e9b44908f9859e75acdeea.tar.gz rust-4082cd95a8de6c8244e9b44908f9859e75acdeea.zip | |
Allow ast passes to create hygienic spans
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/hygiene.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_pos/hygiene.rs b/src/libsyntax_pos/hygiene.rs index 237a02f2f66..99afe57ef54 100644 --- a/src/libsyntax_pos/hygiene.rs +++ b/src/libsyntax_pos/hygiene.rs @@ -550,7 +550,7 @@ impl Span { /// The returned span belongs to the created expansion and has the new properties, /// but its location is inherited from the current span. pub fn fresh_expansion(self, expn_data: ExpnData) -> Span { - self.fresh_expansion_with_transparency(expn_data, Transparency::SemiTransparent) + self.fresh_expansion_with_transparency(expn_data, Transparency::Transparent) } pub fn fresh_expansion_with_transparency( |
