index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_parse
/
src
/
lexer
/
unescape_error_reporting.rs
Age
Commit message (
Expand
)
Author
Lines
2025-04-04
Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crate
Guillaume Gomez
-1
/
+1
2025-03-18
Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retriev...
Ralf Jung
-1
/
+1
2025-02-10
Extract `unescape` from `rustc_lexer` into its own crate
Guillaume Gomez
-1
/
+1
2024-09-22
Reformat using the new identifier sorting from rustfmt
Michael Goulet
-1
/
+1
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-1
/
+2
2024-06-18
Use a dedicated type instead of a reference for the diagnostic context
Oli Scherer
-2
/
+2
2024-05-23
Remove `#[macro_use] extern crate tracing` from `rustc_parse`.
Nicholas Nethercote
-0
/
+1
2024-03-17
fix rustdoc test
Esteban Küber
-1
/
+1
2024-03-17
Use shorter span for existing `'` -> `"` structured suggestion
Esteban Küber
-5
/
+15
2024-02-15
Make `emit_unescape_error` return `Option<ErrorGuaranteed>`.
Nicholas Nethercote
-32
/
+26
2024-01-12
Detect `NulInCStr` error earlier.
Nicholas Nethercote
-0
/
+3
2024-01-10
Rename `{create,emit}_warning` as `{create,emit}_warn`.
Nicholas Nethercote
-2
/
+2
2023-12-18
Rename many `DiagCtxt` arguments.
Nicholas Nethercote
-25
/
+22
2023-12-18
Rename `Handler` as `DiagCtxt`.
Nicholas Nethercote
-2
/
+2
2023-12-13
Rename the `span` args to `emit_unescape_error`.
Nicholas Nethercote
-33
/
+42
2023-08-16
Fix suggestion for attempting to define a string with single quotes
beetrees
-14
/
+8
2023-07-30
inline format!() args up to and including rustc_middle
Matthias Krüger
-8
/
+7
2023-07-23
fix some clippy::style findings
Matthias Krüger
-1
/
+1
2023-06-10
Use a better link
Hankai Zhang
-1
/
+1
2023-06-10
Update links to Rust Reference page on literals in diagnostic
Hankai Zhang
-1
/
+1
2023-05-05
Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errors
Dylan DPC
-8
/
+14
2023-05-03
Restrict `From<S>` for `{D,Subd}iagnosticMessage`.
Nicholas Nethercote
-7
/
+4
2023-05-02
refactor unescape
Deadbeef
-8
/
+14
2023-02-06
Migrate `rustc_parse` to derive diagnostics
clubby789
-174
/
+74
2022-11-04
Make non-ASCII errors more consistent.
Nicholas Nethercote
-19
/
+13
2022-11-03
Use `Mode` less.
Nicholas Nethercote
-7
/
+7
2022-10-22
Properly escape quotes when suggesting switching between char/string literals
clubby789
-2
/
+17
2022-09-01
Always import all tracing macros for the entire crate instead of piecemeal by...
Oli Scherer
-6
/
+2
2022-06-13
remove unnecessary `to_string` and `String::new`
Takayuki Maeda
-4
/
+4
2022-03-16
rustc_error: make ErrorReported impossible to construct
mark
-1
/
+1
2022-02-23
rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".
Eduard-Mihai Burtescu
-12
/
+14
2022-02-14
suggest using raw string literals when invalid escapes appear
Erin Petra Sofiya Moon
-0
/
+9
2021-11-16
Inline printable function
5225225
-5
/
+7
2021-11-16
Suggest removing the non-printing characters
5225225
-1
/
+16
2021-11-16
Print full char literal on error if any are non-printing
5225225
-0
/
+10
2021-10-31
Lint against RTL unicode codepoints in literals and comments
Esteban Küber
-5
/
+15
2021-09-10
Improve diagnostics if a character literal contains combining marks
Fabian Wolff
-14
/
+47
2021-08-11
Warn when an escaped newline skips multiple lines
Anton Golov
-0
/
+5
2021-08-02
Rollup merge of #87659 - FabianWolff:issue-87397, r=davidtwco
Cameron Steffen
-8
/
+29
2021-07-31
Fix invalid suggestions for non-ASCII characters in byte constants
Fabian Wolff
-8
/
+29
2021-07-30
Add warning when whitespace is not skipped after an escaped newline.
Anton Golov
-0
/
+6
2021-02-03
Handle `Span`s for byte and raw strings and add more detail
Esteban Küber
-70
/
+116
2020-10-05
Fix span for unicode escape suggestion.
Eric Huss
-3
/
+2
2020-08-30
mv compiler to compiler/
mark
-0
/
+223