diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-09-21 08:13:25 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-09-21 08:13:25 -0700 |
| commit | 50534425e536f8af16b5f8e994cf1dced548afc5 (patch) | |
| tree | cb7b4c5f3cc8155b479a77a525a216b1eda752f6 /src/rustllvm/RustWrapper.cpp | |
| parent | 01c65cb15ac57bfdc91613a4f6032ecc76c402a3 (diff) | |
| download | rust-50534425e536f8af16b5f8e994cf1dced548afc5.tar.gz rust-50534425e536f8af16b5f8e994cf1dced548afc5.zip | |
rustc: Don't use DelimToken::None if possible
This commit fixes a regression from #44601 where lowering attribute to HIR now involves expanding interpolated tokens to their actual tokens. In that commit all interpolated tokens were surrounded with a `DelimToken::None` group of tokens, but this ended up causing regressions like #44730 where the various attribute parsers in `syntax/attr.rs` weren't ready to cope with `DelimToken::None`. Instead of fixing the parser in `attr.rs` this commit instead opts to just avoid the `DelimToken::None` in the first place, ensuring that the token stream should look the same as it did before where possible. Closes #44730
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
