Skip to content

Rollup of 10 pull requests #138912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 29 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5fe1e47
reintroduce remote-test support in run-make tests
pietroalbini Mar 18, 2025
39efa7c
Make default_codegen_backend serializable
tvladyslav Mar 17, 2025
c25e4bf
resolve: Avoid some unstable iteration 3
petrochenkov Mar 22, 2025
06d5888
ignore doctests only in specified targets
TaKO8Ki Mar 24, 2025
3dae3fb
add necessary lines
TaKO8Ki Mar 24, 2025
9dd5340
Remove `is_any_keyword` methods.
nnethercote Mar 12, 2025
a28d509
Improve keyword comments a little.
nnethercote Mar 12, 2025
3aaa12f
Fix some formatting.
nnethercote Mar 12, 2025
10236fb
Alphabetize the keywords list.
nnethercote Mar 12, 2025
a29e875
Move `is_used_keyword_conditional`.
nnethercote Mar 12, 2025
d9f250a
Remove duplicated loop when computing doc cfgs
GuillaumeGomez Mar 20, 2025
f5659f2
ignore tests broken while cross compiling
pietroalbini Mar 24, 2025
67e0b89
Add a helper for building an owner id in ast lowering
oli-obk Mar 24, 2025
251455b
Allow WellFormed goals to be returned from relating in new solver
compiler-errors Mar 23, 2025
aba23fd
Don't mark privacy test as needing GCE
compiler-errors Mar 21, 2025
c80d9b8
Don't ICE when encountering placeholders in layout computation
compiler-errors Mar 22, 2025
484362e
Mark a fixed test
compiler-errors Mar 21, 2025
ba4190c
resolve: Avoid some unstable iteration 2
petrochenkov Mar 16, 2025
7f2cb4c
Slightly reword triagebot ping message for `relnotes-interest-group`
jieyouxu Mar 22, 2025
92d3a00
Rollup merge of #138385 - nnethercote:keyword-tweaks, r=Noratrieb
TaKO8Ki Mar 24, 2025
41faf08
Rollup merge of #138580 - petrochenkov:resinstab, r=Nadrieril
TaKO8Ki Mar 24, 2025
f382a2d
Rollup merge of #138652 - ferrocene:pa-remote-test-rmake, r=jieyouxu
TaKO8Ki Mar 24, 2025
f92317e
Rollup merge of #138701 - tvladyslav:serializable_default_codegen_bac…
TaKO8Ki Mar 24, 2025
ee339f6
Rollup merge of #138755 - GuillaumeGomez:rm-duplicated-loop, r=camelid
TaKO8Ki Mar 24, 2025
bf18830
Rollup merge of #138829 - jieyouxu:adjust-relnotes-interest-group-des…
TaKO8Ki Mar 24, 2025
2fc02a6
Rollup merge of #138837 - petrochenkov:resinstab2, r=jieyouxu
TaKO8Ki Mar 24, 2025
609c393
Rollup merge of #138838 - compiler-errors:new-solver-crashes-tweaks, …
TaKO8Ki Mar 24, 2025
3c04362
Rollup merge of #138877 - TaKO8Ki:enable-per-target-ignores-for-docte…
TaKO8Ki Mar 24, 2025
ad8b2fa
Rollup merge of #138895 - oli-obk:dedup-owner-id-creation, r=compiler…
TaKO8Ki Mar 24, 2025
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
Improve keyword comments a little.
  • Loading branch information
nnethercote committed Mar 24, 2025
commit a28d5092e9da9973fd56a4de5e85a632400c85f0
9 changes: 4 additions & 5 deletions compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ symbols! {
// documents (such as the Rust Reference) about whether it is a keyword
// (e.g. `_`).
//
// If you modify this list, adjust any relevant `Symbol::{is,can_be}_*` predicates and
// `used_keywords`.
// But this should rarely be necessary if the keywords are kept in alphabetic order.
// If you modify this list, adjust any relevant `Symbol::{is,can_be}_*`
// predicates and `used_keywords`. (This should rarely be necessary if
// the keywords are kept in alphabetic order.) Also consider adding new
// keywords to the `ui/parser/raw/raw-idents.rs` test.
Keywords {
// Special reserved identifiers used internally for elided lifetimes,
// unnamed method parameters, crate root module, error recovery etc.
Expand Down Expand Up @@ -113,8 +114,6 @@ symbols! {
Gen: "gen", // >= 2024 Edition only
Try: "try", // >= 2018 Edition only

// NOTE: When adding new keywords, consider adding them to the ui/parser/raw/raw-idents.rs test.

// "Lifetime keywords": regular keywords with a leading `'`.
// Matching predicates: none
UnderscoreLifetime: "'_",
Expand Down