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_ast
/
src
/
util
/
literal.rs
Age
Commit message (
Expand
)
Author
Lines
2023-12-13
Unify single-char and multi-char `CStrUnit::Char` handling.
Nicholas Nethercote
-1
/
+0
2023-12-13
Don't rebuild raw strings when unescaping.
Nicholas Nethercote
-43
/
+30
2023-05-24
Use `Option::is_some_and` and `Result::is_ok_and` in the compiler
Maybe Waffle
-2
/
+1
2023-05-02
make it semantic error
Deadbeef
-0
/
+2
2023-05-02
fix TODO comments
Deadbeef
-2
/
+8
2023-05-02
update and add a few tests
Deadbeef
-2
/
+2
2023-05-02
initial step towards implementing C string literals
Deadbeef
-1
/
+54
2023-01-05
Fix `uninlined_format_args` for some compiler crates
nils
-3
/
+3
2023-01-02
Print correct base for too-large literals
clubby789
-2
/
+2
2022-12-12
Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov
bors
-48
/
+94
2022-12-05
Remove `LitKind::synthesize_token_lit`.
Nicholas Nethercote
-39
/
+44
2022-12-05
Remove `ExtCtxt::expr_lit`.
Nicholas Nethercote
-11
/
+23
2022-12-02
Remove `token::Lit` from `ast::MetaItemLit`.
Nicholas Nethercote
-2
/
+25
2022-12-02
Add `StrStyle` to `ast::LitKind::ByteStr`.
Nicholas Nethercote
-5
/
+11
2022-12-02
Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.
Nicholas Nethercote
-2
/
+2
2022-12-01
Remove useless borrows and derefs
Maybe Waffle
-5
/
+5
2022-11-29
Avoid more `MetaItem`-to-`Attribute` conversions.
Nicholas Nethercote
-9
/
+0
2022-11-29
Inline and remove `MetaItemLit::from_lit_kind`.
Nicholas Nethercote
-7
/
+0
2022-11-28
Rename `ast::Lit` as `ast::MetaItemLit`.
Nicholas Nethercote
-12
/
+12
2022-11-28
Remove `Lit::from_included_bytes`.
Nicholas Nethercote
-8
/
+0
2022-11-16
Use `token::Lit` in `ast::ExprKind::Lit`.
Nicholas Nethercote
-22
/
+5
2022-11-11
Introduce `ExprKind::IncludedBytes`
clubby789
-0
/
+8
2022-11-05
Remove `unescape_byte_literal`.
Nicholas Nethercote
-18
/
+11
2022-09-12
Rollup merge of #100767 - kadiwa4:escape_ascii, r=jackh726
Dylan DPC
-6
/
+1
2022-09-01
Always import all tracing macros for the entire crate instead of piecemeal by...
Oli Scherer
-1
/
+0
2022-08-25
Handle `Err` in `ast::LitKind::to_token_lit`.
Nicholas Nethercote
-1
/
+3
2022-08-23
Remove the symbol from `ast::LitKind::Err`.
Nicholas Nethercote
-2
/
+2
2022-08-19
use <[u8]>::escape_ascii instead of core::ascii::escape_default
KaDiWa
-6
/
+1
2022-08-16
Rename some things related to literals.
Nicholas Nethercote
-9
/
+9
2022-03-09
Implement macro meta-variable expressions
Caio
-1
/
+1
2022-02-26
2 - Make more use of let_chains
Caio
-4
/
+4
2022-02-24
Inline a hot closure in `from_lit_token`.
Nicholas Nethercote
-17
/
+22
2021-12-15
Remove unnecessary sigils around `Symbol::as_str()` calls.
Nicholas Nethercote
-2
/
+2
2021-12-09
Remove redundant [..]s
est31
-1
/
+1
2021-07-30
Add warning when whitespace is not skipped after an escaped newline.
Anton Golov
-4
/
+20
2021-01-16
Remove unnecessary manual shrink_to_fit calls
Dániel Buga
-3
/
+0
2021-01-09
ast: Remove some indirection layers from values in key-value attributes
Vadim Petrochenkov
-5
/
+4
2020-10-04
Remove extra indirection in LitKind::ByteStr
Robin Schoonover
-3
/
+2
2020-08-30
mv compiler to compiler/
mark
-0
/
+320