Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
HEAD
/
compiler
/
rustc_lexer
df53b3d
test(lexer): Add frontmatter unit test
by Ed Page
· 9 days ago
45a1e49
feat(lexer): Allow including frontmatter with 'tokenize'
by Ed Page
· 10 days ago
c76d032
setup CI and tidy to use typos for spellchecking and fix few typos
by klensy
· 2 weeks ago
2a5225a
rustc_lexer: typo fix + small cleanups
by Marijn Schouten
· 6 weeks ago
55f59fb
Fix parsing of frontmatters with inner hyphens
by Matthew Jasper
· 6 weeks ago
6621826
Implement RFC 3503: frontmatters
by Deadbeef
· 2 months ago
aff2bc7
Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crate
by Guillaume Gomez
· 4 months ago
20d04d8
Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retrieval_methods, r=Amanieu"
by Ralf Jung
· 4 months ago
08dfbf4
Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retrieval_methods, r=Amanieu
by Jacob Pratt
· 4 months ago
ff0a5fe
Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.
by Nicholas Nethercote
· 4 months ago
063ef18
Revert "Use workspace lints for crates in `compiler/` #138084"
by 许杰友 Jieyou Xu (Joe)
· 4 months ago
8a3e033
Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.
by Nicholas Nethercote
· 4 months ago
beba32c
Specify rust lints for `compiler/` crates via Cargo.
by Nicholas Nethercote
· 4 months ago
12e3911
Greatly simplify lifetime captures in edition 2024
by Michael Goulet
· 5 months ago
76d341f
Upgrade the compiler to edition 2024
by Michael Goulet
· 5 months ago
94f0f2b
Reexport `literal-escaper` from `rustc_lexer` to allow rust-analyzer to compile
by Guillaume Gomez
· 5 months ago
49d2d5a
Extract `unescape` from `rustc_lexer` into its own crate
by Guillaume Gomez
· 5 months ago
1fcae03
Rustfmt
by bjorn3
· 5 months ago
9f469eb
implement `eat_until` leveraging memchr in lexer
by gvozdvmozgu
· 5 months ago
a97404e
Add test to check unicode identifier version
by Eric Huss
· 7 months ago
b87e935
Revert "Reject raw lifetime followed by \' as well"
by Michael Goulet
· 8 months ago
4cd2840
Clean up `c_or_byte_string`.
by Nicholas Nethercote
· 8 months ago
11c96cf
Improve `strip_shebang` testing.
by Nicholas Nethercote
· 8 months ago
e9a0c3c
Remove `TokenKind::InvalidPrefix`.
by Nicholas Nethercote
· 8 months ago
2c7c369
Improve `TokenKind` comments.
by Nicholas Nethercote
· 8 months ago
df29f9b
Improve `fake_ident_or_unknown_prefix`.
by Nicholas Nethercote
· 8 months ago
1990f15
Reject raw lifetime followed by \' as well
by Michael Goulet
· 9 months ago
321a5db7
Reserve guarded string literals (RFC 3593)
by Peter Jaszkowiak
· 9 months ago
c682aa1
Reformat using the new identifier sorting from rustfmt
by Michael Goulet
· 10 months ago
9791058
Add initial support for raw lifetimes
by Michael Goulet
· 11 months ago
3b3e43a
Format lexer
by Michael Goulet
· 11 months ago
9aaf873
Reserve prefix lifetimes too
by Michael Goulet
· 11 months ago
6c84c55
Add `warn(unreachable_pub)` to `rustc_lexer`.
by Nicholas Nethercote
· 11 months ago
84ac80f
Reformat `use` declarations.
by Nicholas Nethercote
· 12 months ago
75b164d
Use `tidy` to sort crate attributes for all compiler crates.
by Nicholas Nethercote
· 1 year, 1 month ago
3c5e88c
Improved the compiler code with clippy
by Michael Scholten
· 1 year, 3 months ago
19821ad
Properly handle emojis as literal prefix in macros
by Esteban Küber
· 1 year, 3 months ago
ea1883d
Silence redundant error on char literal that was meant to be a string in 2021 edition
by Esteban Küber
· 1 year, 4 months ago
982918f
Handle str literals written with `'` lexed as lifetime
by Esteban Küber
· 1 year, 4 months ago
0ac1195
Invert diagnostic lints.
by Nicholas Nethercote
· 1 year, 5 months ago
6be2e56
Use `unescape_unicode` for raw C string literals.
by Nicholas Nethercote
· 1 year, 6 months ago
86f371e
Rename the unescaping functions.
by Nicholas Nethercote
· 1 year, 6 months ago
5e5aa6d
Rename and invert sense of `Mode` predicates.
by Nicholas Nethercote
· 1 year, 6 months ago
a1c0721
Rework `CStrUnit`.
by Nicholas Nethercote
· 1 year, 6 months ago
ef1e222
Use `from` instead of `into` in unescaping code.
by Nicholas Nethercote
· 1 year, 6 months ago
a54c295
Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=WaffleLapkin
by Matthias Krüger
· 1 year, 6 months ago
9018d2c
Detect `NulInCStr` error earlier.
by Nicholas Nethercote
· 1 year, 6 months ago
c0a9f72
Undeprecate and use lint `unstable_features`
by León Orell Valerian Liehr
· 1 year, 7 months ago
b900eb7
Rename some unescaping functions.
by Nicholas Nethercote
· 1 year, 7 months ago
29c5158
Adjust `Mode::is_unicode_escape_disallowed`.
by Nicholas Nethercote
· 1 year, 7 months ago
0a401b6
Tweak `Mode`.
by Nicholas Nethercote
· 1 year, 7 months ago
adc46e5
Remove an unnecessary `into`.
by Nicholas Nethercote
· 1 year, 7 months ago
119b1d0
Eliminate `is_byte: bool` args in unescaping code.
by Nicholas Nethercote
· 1 year, 7 months ago
f883762
Remove explicit `\n` and `\t` handling in `unescape_str_common`.
by Nicholas Nethercote
· 1 year, 7 months ago
08b8ba0
Add some useful comments.
by Nicholas Nethercote
· 1 year, 7 months ago
c6bbb37
Fix an out-of-date comment.
by Nicholas Nethercote
· 1 year, 8 months ago
e290582
Identify impossible cases in `ascii_escapes_should_be_ascii`.
by Nicholas Nethercote
· 1 year, 8 months ago
856b55f
De-pub some functions.
by Nicholas Nethercote
· 1 year, 8 months ago
8ff624a
Clean up `rustc_*/Cargo.toml`.
by Nicholas Nethercote
· 1 year, 9 months ago
60c9544
Use v0.0.0 in compiler crates
by Michael Goulet
· 1 year, 9 months ago
bca79a2
Update lexer emoji diagnostics to Unicode 15.0
by Charles Lew
· 2 years ago
23405bb
Auto merge of #113476 - fee1-dead-contrib:c-str-lit, r=petrochenkov
by bors
· 2 years ago
ed4c5fe
fix some clippy::style findings
by Matthias Krüger
· 2 years ago
df9bd80
reimplement C string literals
by Deadbeef
· 2 years ago
c6643b5
Revert the lexing of c_str_literals
by León Orell Valerian Liehr
· 2 years ago
e52794d
Don't try to eat non-existent decimal digits.
by Nicholas Nethercote
· 2 years, 2 months ago
19967c5
Make `Cursor::number` less DRY.
by Nicholas Nethercote
· 2 years, 2 months ago
78e3455
address comments
by Deadbeef
· 2 years, 3 months ago
4c01d49
refactor unescape
by Deadbeef
· 2 years, 3 months ago
a49570f
fix TODO comments
by Deadbeef
· 2 years, 3 months ago
8ff3903
initial step towards implementing C string literals
by Deadbeef
· 2 years, 3 months ago
a047064
Revert "Don't recover lifetimes/labels containing emojis as character literals"
by Michael Goulet
· 2 years, 3 months ago
d223c26
fix(lexer): not skipped whitespace warning for '\x0c'
by bohan
· 2 years, 4 months ago
5a02105
Rustdoc-ify LiteralKind note
by est31
· 2 years, 5 months ago
e3f9db5
Update lexer lifetime test
by 许杰友 Jieyou Xu (Joe)
· 2 years, 5 months ago
380fa26
Don't recover lifetimes/labels containing emojis as character literals
by 许杰友 Jieyou Xu (Joe)
· 2 years, 5 months ago
6a28fb4
Remove double spaces after dots in comments
by Maybe Waffle
· 2 years, 6 months ago
aff403c
Recover `fn` keyword as `Fn` trait in bounds
by Michael Goulet
· 2 years, 7 months ago
2ea368e
minor code cleanups
by Matthias Krüger
· 2 years, 7 months ago
9bc6992
compiler: remove unnecessary imports and qualified paths
by KaDiWa
· 2 years, 7 months ago
ceee880
update cpufeatures, swap difference to dissimilar
by klensy
· 2 years, 8 months ago
872631d
Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser
by bors
· 2 years, 8 months ago
94470f4
Use `as_deref` in compiler (but only where it makes sense)
by Maybe Waffle
· 2 years, 8 months ago
358a603
Use `token::Lit` in `ast::ExprKind::Lit`.
by Nicholas Nethercote
· 2 years, 8 months ago
4b50fb3
Rollup merge of #103919 - nnethercote:unescaping-cleanups, r=matklad
by Dylan DPC
· 2 years, 8 months ago
d6c97a3
Simplify `unescape_{char,byte}`.
by Nicholas Nethercote
· 2 years, 8 months ago
dba6fc3
Make underscore_literal_suffix a hard error.
by Nicholas Nethercote
· 2 years, 9 months ago
43d21b5
Rename some `result` variables as `res`, for consistency.
by Nicholas Nethercote
· 2 years, 9 months ago
a838952
Remove `unescape_byte_literal`.
by Nicholas Nethercote
· 2 years, 9 months ago
a203482
Inline and remove `validate_int_literal`.
by Nicholas Nethercote
· 2 years, 9 months ago
a21c045
Improve comments.
by Nicholas Nethercote
· 2 years, 9 months ago
7dbf2c0
Make non-ASCII errors more consistent.
by Nicholas Nethercote
· 2 years, 9 months ago
34b32b0
Use `Mode` less.
by Nicholas Nethercote
· 2 years, 9 months ago
84ca2c3
Clarify range calculations.
by Nicholas Nethercote
· 2 years, 9 months ago
f32e678
Rename some variables.
by Nicholas Nethercote
· 2 years, 9 months ago
b66f921
rustc_lexer::TokenKind improve docs
by Tshepang Mbambo
· 2 years, 9 months ago
9a4c5ab
Remove from compiler/ crates
by reez12g
· 2 years, 10 months ago
6201eab
Auto merge of #102302 - nnethercote:more-lexer-improvements, r=matklad
by bors
· 2 years, 10 months ago
d0a26ac
Address review comments.
by Nicholas Nethercote
· 2 years, 10 months ago
94cb5e8
Small cleanups in unescaping code.
by Nicholas Nethercote
· 2 years, 10 months ago
Next »