about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-16 19:46:31 +0200
committerGitHub <noreply@github.com>2020-05-16 19:46:31 +0200
commitec5610ff8c41eb0664dab868dc9186a21e2f13b0 (patch)
tree377694a4c142aa33146dda238cb9e7c75044e856 /src/rustllvm/PassWrapper.cpp
parentaecab5e603ad0a904f2f357470b419b2ac6014d8 (diff)
parent43ae7854543ea98516c3946e5f14ff3bb0f18bfd (diff)
downloadrust-ec5610ff8c41eb0664dab868dc9186a21e2f13b0.tar.gz
rust-ec5610ff8c41eb0664dab868dc9186a21e2f13b0.zip
Rollup merge of #72047 - Julian-Wollersberger:literal_error_reporting_cleanup, r=petrochenkov
Literal error reporting cleanup

While doing some performance work, I noticed some code duplication in `librustc_parser/lexer/mod.rs`, so I cleaned it up.

This PR is probably best reviewed commit by commit.

I'm not sure what the API stability practices for `librustc_lexer` are. Four public methods in `unescape.rs` can be removed, but two are used by clippy, so I left them in for now.
I could open a PR for Rust-Analyzer when this one lands.

But how do I open a PR for clippy? (Git submodules are frustrating to work with)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions