Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f0be145
drive-by cleanup of rustdoc comment
jyn514 Apr 29, 2023
6edb4ca
Don't print backtrace on ICEs in `issue-86800.rs`.
nnethercote May 1, 2023
5f45c69
Improve filtering in `default-backtrace-ice.rs`.
nnethercote May 1, 2023
2469afe
Make the BUG_REPORT_URL configurable by tools
jyn514 Apr 29, 2023
8ff3903
initial step towards implementing C string literals
fee1-dead Mar 5, 2023
76d1f93
update and add a few tests
fee1-dead Mar 6, 2023
a49570f
fix TODO comments
fee1-dead Mar 6, 2023
d5e7206
rm diag item, use lang item
fee1-dead Mar 6, 2023
4c01d49
refactor unescape
fee1-dead Mar 6, 2023
78e3455
address comments
fee1-dead Mar 6, 2023
bf3ca59
try gating early, add non-ascii test
fee1-dead Mar 7, 2023
abb181d
make it semantic error
fee1-dead Mar 10, 2023
6d905a8
fix tidy
fee1-dead Mar 10, 2023
d30c668
make cook generic
fee1-dead Apr 28, 2023
d5bc581
Migrate `mir_transform` to translatable diagnostics
clubby789 Apr 30, 2023
6bb1f79
cleanup nll generalizer
lcnr May 3, 2023
0c5fe37
remove `inside_canonicalization_ctxt` flag
lcnr May 3, 2023
1e45f08
Add deployment-target --print flag for Apple targets
BlackHoleFox Dec 6, 2022
025c603
bootstrap: add llvm-project/runtimes to the sources
krasimirgg May 4, 2023
7157ef7
Rollup merge of #105354 - BlackHoleFox:apple-deployment-printer, r=ol…
Manishearth May 4, 2023
7ba3a5a
Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errors
Manishearth May 4, 2023
1e5a57e
Rollup merge of #110989 - jyn514:bug-report-url, r=WaffleLapkin
Manishearth May 4, 2023
66ad50e
Rollup merge of #111004 - clubby789:migrate-mir-transform, r=oli-obk
Manishearth May 4, 2023
5ff35ce
Rollup merge of #111052 - nnethercote:fix-ice-test, r=Nilstrieb
Manishearth May 4, 2023
ca133b5
Rollup merge of #111132 - lcnr:nll-generalize, r=b-naber
Manishearth May 4, 2023
adcfc2d
Rollup merge of #111187 - krasimirgg:llvm-runtimes, r=jyn514
Manishearth May 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address comments
  • Loading branch information
fee1-dead committed May 2, 2023
commit 78e3455d375feb5d100a43110f78b405a8ff05f1
2 changes: 1 addition & 1 deletion compiler/rustc_ast/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@ pub enum LitKind {
/// A byte string (`b"foo"`). Not stored as a symbol because it might be
/// non-utf8, and symbols only allow utf8 strings.
ByteStr(Lrc<[u8]>, StrStyle),
/// A C String (`c"foo"`). Guaranteed only have `\0` in the end.
/// A C String (`c"foo"`). Guaranteed to only have `\0` at the end.
CStr(Lrc<[u8]>, StrStyle),
/// A byte char (`b'f'`).
Byte(u8),
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_lexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub enum LiteralKind {
/// "br"abc"", "br#"abc"#", "br####"ab"###"c"####", "br#"a". `None`
/// indicates an invalid literal.
RawByteStr { n_hashes: Option<u8> },
/// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` is invalid.
/// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` indicates an invalid literal.
RawCStr { n_hashes: Option<u8> },
}

Expand Down