diff options
| author | Russell Cohen <russell.r.cohen@gmail.com> | 2020-03-28 01:46:20 -0400 |
|---|---|---|
| committer | Russell Cohen <russell.r.cohen@gmail.com> | 2020-03-29 00:43:43 -0400 |
| commit | 629e97a5a02edb3d8dc63c5157962c093217d441 (patch) | |
| tree | ec748780e2098a0581b06d0501bc297447ca59ba /src/rustllvm/RustWrapper.cpp | |
| parent | 840a5769b0879f39e21d973a60ac0b0db172f050 (diff) | |
| download | rust-629e97a5a02edb3d8dc63c5157962c093217d441.tar.gz rust-629e97a5a02edb3d8dc63c5157962c093217d441.zip | |
Improve error messages for raw strings (#60762)
This diff improves error messages around raw strings in a few ways: - Catch extra trailing `#` in the parser. This can't be handled in the lexer because we could be in a macro that actually expects another # (see test) - Refactor & unify error handling in the lexer between ByteStrings and RawByteStrings - Detect potentially intended terminators (longest sequence of "#*" is suggested)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
