summary refs log tree commit diff
path: root/compiler/rustc_parse/src/lexer/mod.rs
AgeCommit message (Collapse)AuthorLines
2021-05-08Make `Diagnostic::span_fatal` unconditionally raise an errorJoshua Nelson-9/+5
It had no callers which didn't immediately call `raise()`, and this unifies the behavior with `Session`.
2021-05-08Remove some unnecessary uses of `struct_span_fatal`Joshua Nelson-36/+20
All of them immediately called `emit()` then `raise()`, so they could just call `span_fatal` directly.
2021-04-08Fix outdated crate names in compiler docspierwill-1/+1
Changes `librustc_X` to `rustc_X`, only in documentation comments. Plain code comments are left unchanged. Also fix incorrect file paths.
2021-02-07Clarify error message wordingSmitty-1/+1
2021-02-06Add note about encoding when null bytes foundSmitty-0/+3
2021-02-03Handle `Span`s for byte and raw strings and add more detailEsteban Küber-10/+20
2020-11-22Fix typo in doc comment for report_too_many_hashesNicolas-1/+1
"to big" -> "too big"
2020-11-05Fix even more URLsGuillaume Gomez-1/+1
2020-09-03Rename IsJoint -> SpacingAleksey Kladov-7/+7
To match better naming from proc-macro
2020-09-03Condense StringReader's API to a single functionAleksey Kladov-29/+16
2020-09-01Don't emit trivia tokensAleksey Kladov-60/+53
2020-08-31Make StringReader privateAleksey Kladov-3/+3
After the recent refactorings, we can actually completely hide this type. It should help with #63689.
2020-08-30Remove unused functionAleksey Kladov-4/+0
2020-08-30mv compiler to compiler/mark-0/+598