about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-09-23 00:29:16 -0400
committerGitHub <noreply@github.com>2017-09-23 00:29:16 -0400
commita1637b7570e0c6f40f738f98e1643d5fed30775e (patch)
tree278b83f43d1462a0417f30d27ffd477169fa8e52 /src/rustllvm/RustWrapper.cpp
parent02494064584dd1255ea1575bf4765b869cfd6982 (diff)
parent50534425e536f8af16b5f8e994cf1dced548afc5 (diff)
downloadrust-a1637b7570e0c6f40f738f98e1643d5fed30775e.tar.gz
rust-a1637b7570e0c6f40f738f98e1643d5fed30775e.zip
Rollup merge of #44745 - alexcrichton:no-delim-none, r=estebank
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