1# This file's format is documented at
2# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration
3
4
5# ------------------------------------------------------------------------------
6# Labels
7# ------------------------------------------------------------------------------
8
9[relabel]
10allow-unauthenticated = [
11 "A-*",
12 "B-*",
13 "C-*",
14 "D-*",
15 "E-*",
16 "F-*",
17 "I-*",
18 "L-*",
19 "NLL-*",
20 "O-*",
21 "PG-*",
22 "S-*",
23 "T-*",
24 "WG-*",
25 "-Z*",
26 "beta-nominated",
27 "CI-spurious-*",
28 "const-hack",
29 "llvm-*",
30 "needs-fcp",
31 "relnotes",
32 "release-blog-post",
33 "requires-*",
34 "regression-*",
35 "rla-*",
36 "perf-*",
37 "AsyncAwait-OnDeck",
38 "needs-triage",
39 "has-merge-commits",
40]
41
42[relabel.to-stable]
43add-labels = ["regression-from-stable-to-stable"]
44rem-labels = ["regression-from-stable-to-beta", "regression-from-stable-to-nightly"]
45
46[relabel.to-beta]
47add-labels = ["regression-from-stable-to-beta"]
48rem-labels = ["regression-from-stable-to-stable", "regression-from-stable-to-nightly"]
49
50[review-submitted]
51# This label is added when a "request changes" review is submitted.
52reviewed_label = "S-waiting-on-author"
53# These labels are removed when a "request changes" review is submitted.
54review_labels = ["S-waiting-on-review"]
55
56[review-requested]
57# Those labels are removed when PR author requests a review from an assignee
58remove_labels = ["S-waiting-on-author"]
59# Those labels are added when PR author requests a review from an assignee
60add_labels = ["S-waiting-on-review"]
61
62# [backport.*] sections autonominate pull requests for a backport
63# see: https://forge.rust-lang.org/triagebot/backport.html
64
65[backport.t-compiler-beta-backport]
66# The pull request MUST have one of these labels
67required-pr-labels = ["T-compiler"]
68# The regression MUST have this label
69required-issue-label = "regression-from-stable-to-beta"
70# if the above conditions matches, the PR will receive these labels
71add-labels = ["beta-nominated"]
72
73
74# ------------------------------------------------------------------------------
75# Ping groups
76# ------------------------------------------------------------------------------
77
78[ping.windows]
79message = """\
80Hey Windows Group! This issue has been identified as a good "Windows candidate".
81In case it's useful, here are some [instructions] for tackling these sorts of
82issues. Maybe take a look?
83Thanks! <3
84
85[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
86"""
87label = "O-windows"
88
89[ping.arm]
90message = """\
91Hey ARM Group! This issue has been identified as a good "ARM candidate".
92In case it's useful, here are some [instructions] for tackling these sorts of
93issues. Maybe take a look?
94Thanks! <3
95
96[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
97"""
98label = "O-ARM"
99
100[ping.loongarch]
101message = """\
102Hey LoongArch Group! This issue has been identified as a good "LoongArch candidate".
103In case it's useful, here are some [instructions] for tackling these sorts of
104issues. Maybe take a look?
105Thanks! <3
106
107[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/loongarch.html
108"""
109label = "O-loongarch"
110
111[ping.risc-v]
112message = """\
113Hey RISC-V Group! This issue has been identified as a good "RISC-V candidate".
114In case it's useful, here are some [instructions] for tackling these sorts of
115issues. Maybe take a look?
116Thanks! <3
117
118[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
119"""
120label = "O-riscv"
121
122[ping.fuchsia]
123message = """\
124Hey friends of Fuchsia! This issue could use some guidance on how this should be
125resolved/implemented on Fuchsia. Could one of you weigh in?
126"""
127label = "O-fuchsia"
128
129[ping.apple]
130alias = ["macos", "ios", "tvos", "watchos", "visionos"]
131message = """\
132Hey Apple notification group! This issue or PR could use some Apple-specific
133guidance. Could one of you weigh in? Thanks <3
134
135(In case it's useful, here are some [instructions] for tackling these sorts of
136issues).
137
138[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/apple.html
139"""
140label = "O-apple"
141
142# This ping group is meant for situations where a rustc/stdlib change breaks RfL.
143# In that case, we want to notify the RfL group.
144[ping.rust-for-linux]
145alias = ["rfl"]
146message = """\
147Hey Rust for Linux group! It looks like something broke the Rust for Linux integration.
148Could you try to take a look?
149In case it's useful, here are some [instructions] for tackling these sorts of issues.
150
151[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/rust-for-linux.html
152"""
153label = "A-rust-for-linux"
154
155[ping.wasm]
156alias = ["webassembly"]
157message = """\
158Hey WASM notification group! This issue or PR could use some WebAssembly-specific
159guidance. Could one of you weigh in? Thanks <3
160
161(In case it's useful, here are some [instructions] for tackling these sorts of
162issues).
163
164[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasm.html
165"""
166label = "O-wasm"
167
168[ping.wasi]
169message = """\
170Hey WASI notification group! This issue or PR could use some WASI-specific guidance.
171Could one of you weigh in? Thanks <3
172
173(In case it's useful, here are some [instructions] for tackling these sorts of
174issues).
175
176[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasi.html
177"""
178label = "O-wasi"
179
180[ping.emscripten]
181message = """\
182Hey Emscripten notification group! This issue or PR could use some Emscripten-specific
183guidance. Could one of you weigh in? Thanks <3
184
185(In case it's useful, here are some [instructions] for tackling these sorts of
186issues).
187
188[instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/emscripten.html
189"""
190label = "O-emscripten"
191
192[ping.relnotes-interest-group]
193message = """\
194Hi relnotes-interest-group, this issue/PR could use some help in reviewing /
195adjusting release notes. Could you take a look if available? Thanks <3
196"""
197
198[ping.gpu-target]
199message = """\
200Hi GPU experts, this issue/PR could use some guidance on how this should be
201resolved/implemented. Could you take a look if available? Thanks <3
202"""
203
204# ------------------------------------------------------------------------------
205# Autolabels
206# ------------------------------------------------------------------------------
207
208[prioritize]
209label = "I-prioritize"
210
211[autolabel."S-waiting-on-review"]
212new_pr = true
213
214[autolabel."S-waiting-on-author"]
215new_draft = true
216
217[autolabel."needs-triage"]
218new_issue = true
219exclude_labels = [
220 "C-tracking-issue",
221 "A-diagnostics",
222]
223
224[autolabel."I-prioritize"]
225trigger_labels = [
226 "regression-untriaged",
227 "regression-from-stable-to-stable",
228 "regression-from-stable-to-beta",
229 "regression-from-stable-to-nightly",
230 "I-unsound",
231 "I-miscompile",
232]
233exclude_labels = [
234 "P-*",
235 "T-infra",
236 "T-release",
237 "requires-nightly",
238 "F-*",
239]
240
241[autolabel."T-rustdoc"]
242trigger_files = [
243 # Source code
244 "src/librustdoc",
245 "src/tools/rustdoc",
246 "src/rustdoc-json-types",
247
248 # Tests
249 "tests/rustdoc-html",
250 "tests/rustdoc-ui",
251 "tests/rustdoc-gui",
252 "tests/rustdoc-js/",
253 "tests/rustdoc-js-std",
254 "tests/rustdoc-json",
255
256 # Internal tooling
257 "src/etc/htmldocck.py",
258 "src/tools/jsondocck",
259 "src/tools/jsondoclint",
260 "src/tools/rustdoc-js",
261 "src/tools/rustdoc-themes",
262
263 # Docs
264 "src/doc/rustdoc.md",
265 "src/doc/rustdoc/",
266]
267exclude_labels = [
268 "T-*",
269]
270trigger_labels = [
271 "A-rustdoc-json",
272 "A-rustdoc-type-layout",
273 "A-rustdoc-scrape-examples",
274 "A-link-to-definition",
275 "A-cross-crate-reexports",
276 "A-intra-doc-links",
277 "A-doc-alias",
278]
279
280[autolabel."A-rustdoc-json"]
281trigger_files = [
282 "src/librustdoc/json/",
283 "src/rustdoc-json-types",
284 "tests/rustdoc-json",
285 "src/tools/jsondocck",
286 "src/tools/jsondoclint",
287]
288
289[autolabel."A-attributes"]
290trigger_files = [
291 "compiler/rustc_codegen_ssa/src/codegen_attrs.rs",
292 "compiler/rustc_passes/src/check_attr.rs",
293 "compiler/rustc_attr_parsing",
294 "compiler/rustc_hir/src/attrs",
295]
296
297[autolabel."A-compiler-builtins"]
298trigger_files = [
299 "library/compiler-builtins",
300]
301
302[autolabel."F-autodiff"]
303trigger_files = [
304 "src/tools/enzyme",
305 "src/doc/unstable-book/src/compiler-flags/autodiff.md",
306 "compiler/rustc_ast/src/expand/autodiff_attrs.rs",
307 "compiler/rustc_codegen_llvm/src/builder/autodiff.rs",
308 "compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs",
309]
310
311[autolabel."F-explicit_tail_calls"]
312trigger_files = [
313 "tests/ui/explicit-tail-calls",
314]
315
316[autolabel."T-rustdoc-frontend"]
317trigger_labels = [
318 "A-rustdoc-search",
319 "A-rustdoc-ui",
320 "A-rustdoc-js",
321]
322trigger_files = [
323 "src/librustdoc/html/",
324 "tests/rustdoc-html/",
325 "tests/rustdoc-gui/",
326 "tests/rustdoc-js/",
327 "tests/rustdoc-js-std/",
328 # note: tests/rustdoc-ui tests the CLI, not the web frontend
329]
330
331[autolabel."A-rustdoc-search"]
332trigger_files = [
333 "src/librustdoc/html/static/js/search.js",
334 "tests/rustdoc-js/",
335 "tests/rustdoc-js-std",
336]
337trigger_labels = [
338 "A-type-based-search",
339]
340
341[autolabel."A-rustdoc-js"]
342trigger_files = [
343 "src/librustdoc/html/static/js/",
344 "src/librustdoc/html/static/css/",
345 "tests/rustdoc-js/",
346 "tests/rustdoc-js-std/",
347]
348
349[autolabel."T-compiler"]
350trigger_files = [
351 # Source code
352 "compiler",
353
354 # Tests
355 "tests/assembly-llvm",
356 "tests/auxiliary",
357 "tests/codegen-llvm",
358 "tests/codegen-units",
359 "tests/COMPILER_TESTS.md",
360 "tests/coverage",
361 "tests/coverage-run-rustdoc",
362 "tests/crashes",
363 "tests/debuginfo",
364 "tests/incremental",
365 "tests/mir-opt",
366 "tests/pretty",
367 "tests/run-make",
368 "tests/run-make-cargo",
369 "tests/ui",
370 "tests/ui-fulldeps",
371]
372exclude_labels = [
373 "T-*",
374]
375trigger_labels = [
376 "D-*",
377 "A-diagnostics",
378]
379
380[autolabel."A-diagnostics"]
381trigger_labels = [
382 "D-*",
383]
384
385[autolabel."A-lints"]
386trigger_labels = [
387 "L-*",
388]
389
390[autolabel."T-libs"]
391trigger_files = [
392 "library/alloc",
393 "library/compiler-builtins",
394 "library/core",
395 "library/panic_abort",
396 "library/panic_unwind",
397 "library/std",
398 "library/stdarch",
399 "library/test",
400]
401exclude_labels = [
402 "T-*",
403]
404
405[autolabel."O-android"]
406trigger_files = [
407 "library/std/src/os/android"
408]
409
410[autolabel."O-apple"]
411trigger_files = [
412 "library/std/src/os/darwin",
413 "library/std/src/sys/platform_version/darwin",
414 "library/std/src/sys/sync/thread_parking/darwin.rs",
415 "compiler/rustc_target/src/spec/base/apple",
416]
417
418[autolabel."O-fuchsia"]
419trigger_files = [
420 "library/std/src/os/fuchsia"
421]
422
423[autolabel."O-hermit"]
424trigger_files = [
425 "library/std/src/sys/pal/hermit",
426 "library/std/src/os/hermit"
427]
428
429[autolabel."O-ios"]
430trigger_files = [
431 "library/std/src/os/ios"
432]
433
434[autolabel."O-itron"]
435trigger_files = [
436 "library/std/src/sys/pal/itron"
437]
438
439[autolabel."O-linux"]
440trigger_files = [
441 "library/std/src/os/linux"
442]
443
444[autolabel."O-macos"]
445trigger_files = [
446 "library/std/src/os/macos",
447]
448
449[autolabel."O-netbsd"]
450trigger_files = [
451 "library/std/src/os/netbsd"
452]
453
454[autolabel."O-redox"]
455trigger_files = [
456 "library/std/src/os/redox"
457]
458
459[autolabel."O-SGX"]
460trigger_files = [
461 "library/std/src/sys/pal/sgx",
462 "library/std/src/os/fortanix_sgx"
463]
464
465[autolabel."O-solaris"]
466trigger_files = [
467 "library/std/src/os/solaris"
468]
469
470[autolabel."O-solid"]
471trigger_files = [
472 "library/std/src/sys/pal/solid",
473 "library/std/src/os/solid"
474]
475
476[autolabel."O-unix"]
477trigger_files = [
478 "library/std/src/sys/pal/unix",
479 "library/std/src/os/unix"
480]
481
482[autolabel."O-wasi"]
483trigger_files = [
484 "library/std/src/sys/pal/wasi",
485 "library/std/src/os/wasi"
486]
487
488[autolabel."O-wasm"]
489trigger_files = [
490 "library/std/src/sys/pal/wasm",
491 "library/std/src/os/wasi",
492 "library/std/src/os/wasip2"
493]
494
495[autolabel."O-windows"]
496trigger_files = [
497 "library/std/src/sys/pal/windows",
498 "library/std/src/os/windows"
499]
500
501[autolabel."T-bootstrap"]
502trigger_files = [
503 "Cargo.toml",
504 "configure",
505 "bootstrap.example.toml",
506 "src/bootstrap",
507 "src/build_helper",
508 "src/tools/build-manifest",
509 "src/tools/rust-installer",
510 "src/tools/x",
511 "src/stage0",
512 "src/tools/compiletest",
513 "src/tools/tidy",
514 "src/tools/rustdoc-gui-test",
515 "src/tools/libcxx-version",
516 "x.py",
517 "x",
518 "x.ps1"
519]
520
521[autolabel."A-bootstrap-stamp"]
522trigger_files = [
523 "src/bootstrap/src/utils/build_stamp.rs",
524]
525
526[autolabel."T-infra"]
527trigger_files = [
528 ".github/workflows",
529 "src/ci",
530 "src/tools/bump-stage0",
531 "src/tools/cargotest",
532 "src/tools/tier-check",
533]
534
535[autolabel."T-style"]
536trigger_files = [
537 "src/doc/style-guide",
538]
539
540[autolabel."A-translation"]
541trigger_files = [
542 "compiler/rustc_error_messages",
543 "compiler/rustc_errors/src/formatting.rs",
544 "compiler/rustc_macros/src/diagnostics"
545]
546
547[autolabel."A-query-system"]
548trigger_files = [
549 "compiler/rustc_query_impl",
550 "compiler/rustc_macros/src/query.rs"
551]
552
553[autolabel."A-testsuite"]
554trigger_files = [
555 "src/bootstrap/src/core/build_steps/test.rs",
556 "src/ci",
557 "src/tools/cargotest",
558 "src/tools/compiletest",
559 "src/tools/miropt-test-tools",
560 "src/tools/remote-test-server",
561 "src/tools/remote-test-client",
562 "src/tools/rustdoc-gui-test",
563]
564
565[autolabel."A-tidy"]
566trigger_files = [
567 "src/tools/tidy",
568]
569
570[autolabel."A-meta"]
571trigger_files = [
572 "triagebot.toml",
573 "rustfmt.toml",
574 "LICENSES",
575 "COPYRIGHT",
576 "LICENSE-APACHE",
577 "LICENSE-MIT",
578 "CODE_OF_CONDUCT.md",
579 "README.md",
580 "CONTRIBUTING.md",
581 "INSTALL.md",
582 "REUSE.toml",
583 ".mailmap",
584 ".git-blame-ignore-revs",
585 ".editorconfig"
586]
587
588[autolabel."T-release"]
589trigger_files = [
590 "RELEASES.md",
591 "src/stage0",
592 "src/version"
593]
594
595[autolabel."WG-trait-system-refactor"]
596trigger_files = [
597 "compiler/rustc_next_trait_solver",
598 "compiler/rustc_trait_selection/src/solve",
599 "compiler/rustc_type_ir/src/solve",
600 "tests/ui/traits/next-solver",
601]
602
603[autolabel."PG-exploit-mitigations"]
604trigger_files = [
605 "compiler/rustc_sanitizers",
606 "src/doc/rustc/src/exploit-mitigations.md",
607 "src/doc/unstable-book/src/compiler-flags/branch-protection.md",
608 "src/doc/unstable-book/src/compiler-flags/cf-protection.md",
609 "src/doc/unstable-book/src/compiler-flags/control-flow-guard.md",
610 "src/doc/unstable-book/src/compiler-flags/sanitizer.md",
611 "src/doc/unstable-book/src/language-features/cfg-sanitize.md",
612 "src/doc/unstable-book/src/language-features/cfi-encoding.md",
613 "src/doc/unstable-book/src/language-features/sanitize.md",
614 "tests/codegen-llvm/sanitizer",
615 "tests/codegen-llvm/split-lto-unit.rs",
616 "tests/codegen-llvm/stack-probes-inline.rs",
617 "tests/codegen-llvm/stack-protector.rs",
618 "tests/ui/sanitizer",
619 "tests/ui/stack-protector"
620]
621
622[autolabel."A-run-make"]
623trigger_files = [
624 "tests/run-make",
625 "tests/run-make-cargo",
626 "src/tools/run-make-support"
627]
628
629[autolabel."A-compiletest"]
630trigger_files = [
631 "src/tools/compiletest"
632]
633
634[autolabel."A-test-infra-minicore"]
635trigger_files = [
636 "tests/auxiliary/minicore.rs",
637]
638
639[autolabel."A-rustc-dev-guide"]
640trigger_files = [
641 "src/doc/rustc-dev-guide",
642]
643
644[autolabel."A-LLVM"]
645trigger_files = [
646 "src/llvm-project",
647 "compiler/rustc_llvm",
648 "compiler/rustc_codegen_llvm",
649]
650
651[autolabel."T-clippy"]
652trigger_files = [
653 "src/tools/clippy",
654]
655
656[autolabel."A-CI"]
657trigger_files = [
658 ".github/workflows",
659 "src/ci",
660]
661
662[autolabel."T-rust-analyzer"]
663trigger_files = [
664 "src/tools/rust-analyzer",
665]
666
667[autolabel."T-rustfmt"]
668trigger_files = [
669 "src/tools/rustfmt",
670]
671
672# ------------------------------------------------------------------------------
673# Prioritization and team nominations
674# ------------------------------------------------------------------------------
675
676[notify-zulip."I-prioritize"]
677zulip_stream = 245100 # #t-compiler/prioritization/alerts
678topic = "#{number} {title}"
679message_on_add = """\
680Issue #{number} has been requested for prioritization.
681
682# [Procedure](https://forge.rust-lang.org/compiler/prioritization.html)
683- Priority?
684- Regression?
685- Notify people/groups?
686- Needs `I-{team}-nominated`?
687"""
688message_on_remove = "Issue #{number}'s prioritization request has been removed."
689message_on_close = "Issue #{number} has been closed while requested for prioritization."
690message_on_reopen = "Issue #{number} has been reopened."
691
692[notify-zulip."I-types-nominated"]
693zulip_stream = 326866 # #T-types/nominated
694topic = "#{number}: {title}"
695message_on_add = """\
696@*T-types* issue #{number} "{title}" has been nominated for team discussion.
697"""
698message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
699message_on_close = "Issue #{number} has been closed. Thanks for participating!"
700message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
701
702
703# ------------------------------------------------------------------------------
704# Zulip notifications
705# ------------------------------------------------------------------------------
706
707[notify-zulip."beta-nominated".rustdoc]
708required_labels = ["T-rustdoc"]
709zulip_stream = 266220 # #t-rustdoc
710topic = "beta-nominated: #{number}"
711# Zulip polls may not be preceded by any other text and pings & short links inside
712# the title of a poll don't get recognized. Therefore we need to send two messages.
713message_on_add = [
714 """\
715@*T-rustdoc* PR #{number} "{title}" has been nominated for beta backport.
716""",
717 """\
718/poll Approve beta backport of #{number}?
719approve
720decline
721don't know
722""",
723]
724message_on_remove = "PR #{number}'s beta-nomination has been removed."
725message_on_close = "PR #{number} has been closed. Thanks for participating!"
726message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
727
728[notify-zulip."beta-accepted".rustdoc]
729required_labels = ["T-rustdoc"]
730zulip_stream = 266220 # #t-rustdoc
731# Put it in the same thread as beta-nominated.
732topic = "beta-nominated: #{number}"
733message_on_add = "PR #{number} has been **accepted** for beta backport."
734message_on_remove = "PR #{number}'s beta-acceptance has been **removed**."
735message_on_close = "PR #{number} has been closed. Thanks for participating!"
736message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
737
738[notify-zulip."stable-nominated".rustdoc]
739required_labels = ["T-rustdoc"]
740zulip_stream = 266220 # #t-rustdoc
741topic = "stable-nominated: #{number}"
742# Zulip polls may not be preceded by any other text and pings & short links inside
743# the title of a poll don't get recognized. Therefore we need to send two messages.
744message_on_add = [
745 """\
746@*T-rustdoc* PR #{number} "{title}" has been nominated for stable backport.
747""",
748 """\
749/poll Approve stable backport of #{number}?
750approve
751approve (but does not justify new dot release on its own)
752decline
753don't know
754""",
755]
756message_on_remove = "PR #{number}'s stable-nomination has been removed."
757message_on_close = "PR #{number} has been closed. Thanks for participating!"
758message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
759
760[notify-zulip."stable-accepted".rustdoc]
761required_labels = ["T-rustdoc"]
762zulip_stream = 266220 # #t-rustdoc
763# Put it in the same thread as stable-nominated.
764topic = "stable-nominated: #{number}"
765message_on_add = "PR #{number} has been **accepted** for stable backport."
766message_on_remove = "PR #{number}'s stable-acceptance has been **removed**."
767message_on_close = "PR #{number} has been closed. Thanks for participating!"
768message_on_reopen = "PR #{number} has been reopened. Pinging @*T-rustdoc*."
769
770
771[notify-zulip."beta-nominated".compiler]
772required_labels = ["T-compiler"]
773zulip_stream = 474880 # #t-compiler/backports
774topic = "#{number}: beta-nominated"
775message_on_add = [
776 """\
777PR #{number} "{title}" fixes a regression and has been nominated for backport.
778{recipients}, what do you think about it?
779This topic will help T-compiler getting context about it.
780
781Tip: to approve or decline from this Zulip thread, use:
782@_**triagebot** backport approve beta #{number}
783@_**triagebot** backport decline beta #{number}
784""",
785 """\
786/poll Should #{number} be beta backported?
787approve
788decline
789don't know
790""",
791]
792message_on_remove = "PR #{number}'s beta-nomination has been removed."
793
794[notify-zulip."beta-accepted".compiler]
795required_labels = ["T-compiler"]
796zulip_stream = 474880 # #t-compiler/backports
797# Put it in the same Zulip topic as beta-nominated.
798topic = "#{number}: beta-nominated"
799message_on_add = "PR #{number} has been **accepted** for **beta** backport."
800
801[notify-zulip."stable-nominated".compiler]
802required_labels = ["T-compiler"]
803zulip_stream = 474880 # #t-compiler/backports
804topic = "#{number}: stable-nominated"
805message_on_add = [
806 """\
807PR #{number} "{title}" fixes a regression and has been nominated for backport.
808{recipients}, what do you think about it?
809This topic will help T-compiler getting context about it.
810
811Tip: to approve or decline from this Zulip thread, use:
812@_**triagebot** backport approve stable #{number}
813@_**triagebot** backport decline stable #{number}
814""",
815 """\
816/poll Approve stable backport of #{number}?
817approve
818approve (but does not justify new dot release on its own)
819decline
820don't know
821""",
822]
823message_on_remove = "PR #{number}'s stable-nomination has been removed."
824
825[notify-zulip."stable-accepted".compiler]
826required_labels = ["T-compiler"]
827zulip_stream = 474880 # #t-compiler/backports
828# Put it in the same thread as stable-nominated.
829topic = "#{number}: stable-nominated"
830message_on_add = "PR #{number} has been **accepted** for **stable** backport."
831
832[notify-zulip."beta-nominated".libs]
833required_labels = ["T-libs"]
834zulip_stream = 542373 # #t-libs/backports
835topic = "#{number}: beta-nominated"
836message_on_add = [
837 """\
838@*T-libs* PR #{number} "{title}" has been nominated for beta backport.
839""",
840 """\
841/poll Should #{number} be beta backported?
842approve
843decline
844don't know
845""",
846]
847message_on_remove = "PR #{number}'s beta-nomination has been removed."
848
849[notify-zulip."beta-accepted".libs]
850required_labels = ["T-libs"]
851zulip_stream = 542373 # #t-libs/backports
852# Put it in the same Zulip topic as beta-nominated.
853topic = "#{number}: beta-nominated"
854message_on_add = "PR #{number} has been **accepted** for **beta** backport."
855
856[notify-zulip."stable-nominated".libs]
857required_labels = ["T-libs"]
858zulip_stream = 542373 # #t-libs/backports
859topic = "#{number}: stable-nominated"
860message_on_add = [
861 """\
862@**channel** PR #{number} "{title}" has been nominated for stable backport.
863""",
864 """\
865/poll Approve stable backport of #{number}?
866approve
867approve (but does not justify new dot release on its own)
868decline
869don't know
870""",
871]
872message_on_remove = "PR #{number}'s stable-nomination has been removed."
873
874[notify-zulip."stable-accepted".libs]
875required_labels = ["T-libs"]
876zulip_stream = 542373 # #t-libs/backports
877# Put it in the same thread as stable-nominated.
878topic = "#{number}: stable-nominated"
879message_on_add = "PR #{number} has been **accepted** for **stable** backport."
880
881
882[notify-zulip."beta-nominated".bootstrap]
883required_labels = ["T-bootstrap"]
884zulip_stream = 507486 # #t-infra/bootstrap/backports
885topic = "#{number}: beta-nominated"
886message_on_add = [
887 """\
888@*T-bootstrap* PR #{number} "{title}" has been nominated for beta backport.
889""",
890 """\
891/poll Approve beta backport of #{number}?
892approve
893decline
894don't know
895""",
896]
897message_on_remove = "PR #{number}'s beta-nomination has been removed."
898
899[notify-zulip."beta-accepted".bootstrap]
900required_labels = ["T-bootstrap"]
901zulip_stream = 507486 # #t-infra/bootstrap/backports
902# Put it in the same thread as beta-nominated.
903topic = "#{number}: beta-nominated"
904message_on_add = "PR #{number} has been **accepted** for **beta** backport."
905
906[notify-zulip."stable-nominated".bootstrap]
907required_labels = ["T-bootstrap"]
908zulip_stream = 507486 # #t-infra/bootstrap/backports
909topic = "#{number}: stable-nominated"
910message_on_add = [
911 """\
912@*T-bootstrap* PR #{number} "{title}" has been nominated for stable backport.
913""",
914 """\
915/poll Approve stable backport of #{number}?
916approve
917approve (but does not justify new dot release on its own)
918decline
919don't know
920""",
921]
922message_on_remove = "PR #{number}'s stable-nomination has been removed."
923
924[notify-zulip."stable-accepted".bootstrap]
925required_labels = ["T-bootstrap"]
926zulip_stream = 507486 # #t-infra/bootstrap/backports
927# Put it in the same thread as stable-nominated.
928topic = "#{number}: stable-nominated"
929message_on_add = "PR #{number} has been **accepted** for **stable** backport."
930
931
932[notify-zulip."A-edition-2021"]
933required_labels = ["C-bug"]
934zulip_stream = 268952 # #edition
935topic = "Edition Bugs"
936message_on_add = """\
937Issue #{number} "{title}" has been added (previous edition 2021).
938"""
939
940[notify-zulip."A-edition-2024"]
941required_labels = ["C-bug"]
942zulip_stream = 268952 # #edition
943topic = "Edition Bugs"
944message_on_add = """\
945Issue #{number} "{title}" has been added.
946"""
947
948
949# ------------------------------------------------------------------------------
950# Mentions
951# ------------------------------------------------------------------------------
952
953[mentions."compiler/rustc_codegen_cranelift"]
954message = """
955`rustc_codegen_cranelift` is developed in its own repository. If possible, consider \
956making this change to \
957[rust-lang/rustc_codegen_cranelift](https://github.com/rust-lang/rustc_codegen_cranelift) \
958instead.
959"""
960cc = ["@bjorn3"]
961
962[mentions."compiler/rustc_codegen_gcc"]
963message = """
964`rustc_codegen_gcc` is developed in its own repository. If possible, consider \
965making this change to \
966[rust-lang/rustc_codegen_gcc](https://github.com/rust-lang/rustc_codegen_gcc) \
967instead.
968"""
969cc = ["@antoyo", "@GuillaumeGomez"]
970
971[mentions."compiler/rustc_const_eval/src/"]
972message = "Some changes occurred to the CTFE machinery"
973cc = ["@RalfJung", "@oli-obk", "@lcnr"]
974
975[mentions."compiler/rustc_const_eval/src/check_consts"]
976message = "Some changes occurred to constck"
977cc = ["@fee1-dead"]
978
979[mentions."compiler/rustc_const_eval/src/interpret"]
980message = "Some changes occurred to the CTFE / Miri interpreter"
981cc = ["@rust-lang/miri"]
982
983[mentions."compiler/rustc_trait_selection/src/error_reporting/infer/need_type_info.rs"]
984message = "Some changes occurred in need_type_info.rs"
985cc = ["@lcnr"]
986
987[mentions."compiler/rustc_middle/src/ty/relate.rs"]
988message = "changes to the core type system"
989cc = ["@lcnr"]
990
991[mentions."compiler/rustc_infer/src/infer/relate"]
992message = "changes to the core type system"
993cc = ["@lcnr"]
994
995[mentions."compiler/rustc_hir_typeck/src/fn_ctxt/inspect_obligations.rs"]
996message = "changes to `inspect_obligations.rs`"
997cc = ["@lcnr"]
998
999[mentions."compiler/rustc_middle/src/mir/interpret"]
1000message = "Some changes occurred to the CTFE / Miri interpreter"
1001cc = ["@rust-lang/miri", "@RalfJung", "@oli-obk", "@lcnr"]
1002
1003[mentions."compiler/rustc_mir_transform/src/"]
1004message = "Some changes occurred to MIR optimizations"
1005cc = ["@rust-lang/wg-mir-opt"]
1006
1007[mentions."compiler/rustc_trait_selection/src/traits/wf.rs"]
1008message = "changes to the core type system"
1009cc = ["@lcnr"]
1010
1011[mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
1012message = "Some changes occurred in `const_evaluatable.rs`"
1013cc = ["@BoxyUwU"]
1014
1015[mentions."compiler/rustc_middle/src/ty/abstract_const.rs"]
1016message = "Some changes occurred in `abstract_const.rs`"
1017cc = ["@BoxyUwU"]
1018
1019[mentions."compiler/rustc_ty_utils/src/consts.rs"]
1020message = "Some changes occurred in `rustc_ty_utils::consts.rs`"
1021cc = ["@BoxyUwU"]
1022
1023[mentions."compiler/rustc_trait_selection/src/solve/"]
1024message = "Some changes occurred to the core trait solver"
1025cc = ["@rust-lang/initiative-trait-system-refactor"]
1026
1027[mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
1028message = """
1029Some changes occurred in engine.rs, potentially modifying the public API \
1030of `ObligationCtxt`.
1031"""
1032cc = ["@lcnr"]
1033
1034[mentions."compiler/rustc_hir_analysis/src/hir_ty_lowering"]
1035message = "HIR ty lowering was modified"
1036cc = ["@fmease"]
1037
1038[mentions."compiler/rustc_parse"]
1039message = """
1040The parser was modified, potentially altering the grammar of (stable) Rust
1041which would be a breaking change.
1042"""
1043cc = ["@fmease"]
1044
1045[mentions."library/core/src/mem/type_info.rs"]
1046message = """
1047The reflection data structures are tied exactly to the implementation
1048in the compiler. Make sure to also adjust `rustc_const_eval/src/const_eval/type_info.rs`
1049"""
1050cc = ["@oli-obk"]
1051
1052[mentions."compiler/rustc_error_codes/src/lib.rs"]
1053message = "Some changes occurred in diagnostic error codes"
1054cc = ["@GuillaumeGomez"]
1055
1056[mentions."compiler/rustc_mir_build/src/builder/matches"]
1057message = "Some changes occurred in match lowering"
1058cc = ["@Nadrieril"]
1059
1060[mentions."compiler/rustc_mir_build/src/thir/pattern"]
1061message = "Some changes occurred in match checking"
1062cc = ["@Nadrieril"]
1063
1064[mentions."compiler/rustc_pattern_analysis"]
1065message = "Some changes occurred in exhaustiveness checking"
1066cc = ["@Nadrieril"]
1067
1068[mentions."compiler/rustc_session/src/config/cfg.rs"]
1069message = "Some changes occurred in cfg and check-cfg configuration"
1070cc = ["@Urgau"]
1071
1072[mentions."compiler/rustc_attr_parsing/src/check_cfg.rs"]
1073message = "Some changes occurred in check-cfg diagnostics"
1074cc = ["@Urgau"]
1075
1076[mentions."library/compiler-builtins"]
1077message = """
1078`compiler-builtins` is developed in its own repository. If possible, consider \
1079making this change to \
1080[rust-lang/compiler-builtins](https://github.com/rust-lang/compiler-builtins) \
1081instead.
1082"""
1083cc = ["@tgross35"]
1084
1085[mentions."library/stdarch"]
1086message = """
1087`stdarch` is developed in its own repository. If possible, consider \
1088making this change to \
1089[rust-lang/stdarch](https://github.com/rust-lang/stdarch) \
1090instead.
1091"""
1092cc = ["@Amanieu", "@folkertdev", "@sayantn"]
1093
1094[mentions."library/std_detect"]
1095message = "Some changes occurred in `std_detect`"
1096cc = ["@Amanieu", "@folkertdev", "@sayantn"]
1097
1098[mentions."library/core/src/intrinsics/simd/mod.rs"]
1099message = """
1100Some changes occurred to the platform-builtins intrinsics. Make sure the
1101LLVM backend as well as portable-simd gets adapted for the changes.
1102"""
1103cc = ["@antoyo", "@GuillaumeGomez", "@bjorn3", "@calebzulawski", "@programmerjake"]
1104
1105[mentions."library/core/src/intrinsics"]
1106message = """
1107Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
1108gets adapted for the changes, if necessary.
1109"""
1110cc = ["@rust-lang/miri", "@RalfJung", "@oli-obk", "@lcnr"]
1111
1112[mentions."library/core/src/num/imp/{dec2flt,flt2dec}"]
1113message = "Some changes occurred in float parsing"
1114cc = ["@tgross35"]
1115
1116[mentions."library/core/src/fmt/num.rs"]
1117message = "Some changes occurred in integer formatting"
1118cc = ["@tgross35"]
1119
1120[mentions."library/portable-simd"]
1121message = """
1122`portable-simd` is developed in its own repository. If possible, consider \
1123making this change to \
1124[rust-lang/portable-simd](https://github.com/rust-lang/portable-simd) \
1125instead.
1126"""
1127cc = ["@calebzulawski", "@programmerjake"]
1128
1129[mentions."library/core/src/unicode/unicode_data.rs"]
1130message = """
1131`library/core/src/unicode/unicode_data.rs` is generated by the \
1132`src/tools/unicode-table-generator` tool.
1133
1134If you want to modify `unicode_data.rs`, please modify the tool then regenerate the library \
1135source file via `./x run src/tools/unicode-table-generator` instead of editing \
1136`unicode_data.rs` manually.
1137"""
1138
1139[mentions."src/librustdoc/html/static"]
1140message = "Some changes occurred in HTML/CSS/JS."
1141cc = [
1142 "@GuillaumeGomez",
1143 "@lolbinarycat",
1144]
1145
1146[mentions."tests/rustdoc-gui/"]
1147message = "Some changes occurred in GUI tests."
1148cc = ["@GuillaumeGomez"]
1149
1150[mentions."src/rustdoc-json-types"]
1151message = """
1152rustdoc-json-types is a **public** (although nightly-only) API. \
1153If possible, consider changing `src/librustdoc/json/conversions.rs`; \
1154otherwise, make sure you bump the `FORMAT_VERSION` constant.
1155"""
1156cc = [
1157 "@CraftSpider",
1158 "@Enselic",
1159 "@obi1kenobi",
1160]
1161
1162[mentions."src/tools/cargo"]
1163cc = ["@ehuss"]
1164
1165[mentions."src/tools/clippy"]
1166message = """
1167`clippy` is developed in its own repository. If possible, consider \
1168making this change to \
1169[rust-lang/rust-clippy](https://github.com/rust-lang/rust-clippy) \
1170instead.
1171"""
1172cc = ["@rust-lang/clippy"]
1173
1174[mentions."src/tools/compiletest"]
1175cc = ["@jieyouxu"]
1176
1177[mentions."src/tools/compiletest/src/directives"]
1178message = """
1179`compiletest` directives have been modified. Please add or update docs for the
1180new or modified directive in `src/doc/rustc-dev-guide/`.
1181"""
1182
1183[mentions."src/tools/miri"]
1184message = """
1185`miri` is developed in its own repository. If possible, consider \
1186making this change to \
1187[rust-lang/miri](https://github.com/rust-lang/miri) \
1188instead.
1189"""
1190cc = ["@rust-lang/miri"]
1191
1192[mentions."src/tools/run-make-support"]
1193message = "The run-make-support library was changed"
1194cc = ["@jieyouxu"]
1195
1196[mentions."src/tools/rust-analyzer"]
1197message = """
1198`rust-analyzer` is developed in its own repository. If possible, consider \
1199making this change to \
1200[rust-lang/rust-analyzer](https://github.com/rust-lang/rust-analyzer) \
1201instead.
1202"""
1203cc = ["@rust-lang/rust-analyzer"]
1204
1205[mentions."src/tools/rustfmt"]
1206message = """
1207`rustfmt` is developed in its own repository. If possible, consider \
1208making this change to \
1209[rust-lang/rustfmt](https://github.com/rust-lang/rustfmt) \
1210instead.
1211"""
1212cc = ["@rust-lang/rustfmt"]
1213
1214[mentions."compiler/rustc_middle/src/mir/syntax.rs"]
1215message = "This PR changes MIR"
1216cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@vakaras"]
1217
1218[mentions."compiler/rustc_error_messages"]
1219message = "`rustc_error_messages` was changed"
1220cc = ["@TaKO8Ki"]
1221
1222[mentions."compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs"]
1223message = "`rustc_errors::annotate_snippet_emitter_writer` was changed"
1224cc = ["@Muscraft"]
1225
1226[mentions."compiler/rustc_errors/src/emitter.rs"]
1227message = "`rustc_errors::emitter` was changed"
1228cc = ["@Muscraft"]
1229
1230[mentions."compiler/rustc_errors/src/formatting.rs"]
1231message = "`rustc_errors::formatting` was changed"
1232cc = ["@TaKO8Ki", "@JonathanBrouwer"]
1233
1234[mentions."compiler/rustc_macros/src/diagnostics"]
1235message = "`rustc_macros::diagnostics` was changed"
1236cc = ["@TaKO8Ki", "@JonathanBrouwer"]
1237
1238[mentions."compiler/rustc_public"]
1239message = "This PR changes rustc_public"
1240cc = ["@oli-obk", "@celinval", "@ouz-a", "@makai410"]
1241
1242[mentions."compiler/rustc_target/src/spec"]
1243message = """
1244These commits modify **compiler targets**.
1245(See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
1246"""
1247
1248[mentions."src/doc/style-guide"]
1249cc = ["@rust-lang/style"]
1250
1251[mentions."Cargo.lock"]
1252message = """
1253These commits modify the `Cargo.lock` file. Unintentional changes to `Cargo.lock` can be introduced when switching branches and rebasing PRs.
1254
1255If this was unintentional then you should revert the changes before this PR is merged.
1256Otherwise, you can ignore this comment.
1257"""
1258
1259[mentions."library/Cargo.lock"]
1260message = """
1261These commits modify the `library/Cargo.lock` file. Unintentional changes to `library/Cargo.lock` can be introduced when switching branches and rebasing PRs.
1262
1263If this was unintentional then you should revert the changes before this PR is merged.
1264Otherwise, you can ignore this comment.
1265"""
1266
1267[mentions."src/tools/x"]
1268message = "`src/tools/x` was changed. Bump version of Cargo.toml in `src/tools/x` so tidy will suggest installing the new version."
1269
1270[mentions."src/tools/tidy/src/deps.rs"]
1271message = "The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging."
1272cc = ["@davidtwco", "@boxyuwu"]
1273
1274[mentions."src/tools/tidy/src/extra_checks"]
1275message = "`tidy` extra checks were modified."
1276cc = ["@lolbinarycat"]
1277
1278[mentions."src/bootstrap/src/core/config"]
1279message = """
1280This PR modifies `src/bootstrap/src/core/config`.
1281
1282If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1283"""
1284[mentions."src/bootstrap/defaults"]
1285message = """
1286This PR modifies `src/bootstrap/defaults`.
1287
1288If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1289"""
1290[mentions."bootstrap.example.toml"]
1291message = """
1292This PR modifies `bootstrap.example.toml`.
1293
1294If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`.
1295"""
1296
1297[mentions."src/bootstrap/src/core/build_steps/llvm.rs"]
1298message = "This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp."
1299
1300[mentions."src/bootstrap/src/core/build_steps/gcc.rs"]
1301message = "This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp."
1302
1303[mentions."tests/crashes"]
1304message = "This PR changes a file inside `tests/crashes`. If a crash was fixed, please move into the corresponding `ui` subdir and add 'Fixes #<issueNr>' to the PR description to autoclose the issue upon merge."
1305
1306[mentions."tests/rustdoc-json"]
1307message = """
1308These commits modify `tests/rustdoc-json`.
1309rustdoc-json is a **public** (but unstable) interface.
1310
1311Please ensure that if you've changed the output:
1312- It's intentional.
1313- The `FORMAT_VERSION` in `src/librustdoc-json-types` is bumped if necessary.
1314"""
1315cc = ["@obi1kenobi"]
1316
1317[mentions."tests/ui/derives/deriving-all-codegen.stdout"]
1318message = "Changes to the code generated for builtin derived traits."
1319cc = ["@nnethercote"]
1320
1321[mentions."tests/ui/stats/input-stats.stderr"]
1322message = "Changes to the size of AST and/or HIR nodes."
1323cc = ["@nnethercote"]
1324
1325[mentions."tests/ui/issues"]
1326message = """
1327This PR modifies `tests/ui/issues/`. If this PR is adding new tests to `tests/ui/issues/`,
1328please refrain from doing so, and instead add it to more descriptive subdirectories.
1329"""
1330
1331[mentions."compiler/rustc_sanitizers"]
1332cc = ["@rcvalle"]
1333
1334[mentions."src/doc/rustc/src/exploit-mitigations.md"]
1335cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1336
1337[mentions."src/doc/unstable-book/src/compiler-flags/branch-protection.md"]
1338cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1339
1340[mentions."src/doc/unstable-book/src/compiler-flags/cf-protection.md"]
1341cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1342
1343[mentions."src/doc/unstable-book/src/compiler-flags/control-flow-guard.md"]
1344cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1345
1346[mentions."src/doc/unstable-book/src/compiler-flags/sanitizer.md"]
1347cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1348
1349[mentions."src/doc/unstable-book/src/language-features/cfg-sanitize.md"]
1350cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1351
1352[mentions."src/doc/unstable-book/src/language-features/cfi-encoding.md"]
1353cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1354
1355[mentions."src/doc/unstable-book/src/language-features/sanitize.md"]
1356cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1357
1358[mentions."src/doc/rustc/src/check-cfg.md"]
1359cc = ["@Urgau"]
1360
1361[mentions."src/doc/rustc/src/check-cfg"]
1362cc = ["@Urgau"]
1363
1364[mentions."src/doc/rustc/src/platform-support"]
1365cc = ["@Noratrieb"]
1366
1367[mentions."tests/codegen-llvm/sanitizer"]
1368cc = ["@rcvalle"]
1369
1370[mentions."tests/codegen-llvm/split-lto-unit.rs"]
1371cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1372
1373[mentions."tests/codegen-llvm/stack-probes-inline.rs"]
1374cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1375
1376[mentions."tests/codegen-llvm/stack-protector.rs"]
1377cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1378
1379[mentions."tests/debuginfo/basic-stepping.rs"]
1380cc = ["@Enselic"]
1381
1382[mentions."tests/ui/sanitizer"]
1383cc = ["@rcvalle"]
1384
1385[mentions."tests/ui/stack-protector"]
1386cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"]
1387
1388[mentions."compiler/rustc_middle/src/mir/coverage.rs"]
1389message = "Some changes occurred in coverage instrumentation."
1390cc = ["@Zalathar"]
1391
1392[mentions."compiler/rustc_mir_build/src/builder/coverageinfo.rs"]
1393message = "Some changes occurred in coverage instrumentation."
1394cc = ["@Zalathar"]
1395
1396[mentions."compiler/rustc_mir_transform/src/coverage"]
1397message = "Some changes occurred in coverage instrumentation."
1398cc = ["@Zalathar"]
1399
1400[mentions."compiler/rustc_codegen_llvm/src/coverageinfo"]
1401message = "Some changes occurred in coverage instrumentation."
1402cc = ["@Zalathar"]
1403
1404[mentions."compiler/rustc_codegen_ssa/src/mir/coverageinfo.rs"]
1405message = "Some changes occurred in coverage instrumentation."
1406cc = ["@Zalathar"]
1407
1408[mentions."tests/coverage"]
1409message = "Some changes occurred in coverage tests."
1410cc = ["@Zalathar"]
1411
1412[mentions."src/tools/opt-dist"]
1413cc = ["@kobzol"]
1414
1415[mentions."tests/ui-fulldeps/lexer/unicode-version.run.stdout"]
1416message = """If the Unicode version changes are intentional,
1417it should also be updated in the reference at
1418https://github.com/rust-lang/reference/blob/HEAD/src/identifiers.md.
1419"""
1420cc = ["@ehuss"]
1421
1422[mentions."src/doc/rustc-dev-guide"]
1423message = """
1424`rustc-dev-guide` is developed in its own repository. If possible, consider \
1425making this change to \
1426[rust-lang/rustc-dev-guide](https://github.com/rust-lang/rustc-dev-guide) \
1427instead.
1428"""
1429cc = ["@BoxyUwU", "@tshepang"]
1430
1431[mentions."compiler/rustc_passes/src/check_attr.rs"]
1432cc = ["@jdonszelmann", "@JonathanBrouwer"]
1433[mentions."compiler/rustc_attr_parsing"]
1434cc = ["@jdonszelmann", "@JonathanBrouwer"]
1435[mentions."compiler/rustc_hir/src/attrs"]
1436cc = ["@jdonszelmann", "@JonathanBrouwer"]
1437
1438[mentions."src/tools/enzyme"]
1439cc = ["@ZuseZ4"]
1440[mentions."src/doc/unstable-book/src/compiler-flags/autodiff.md"]
1441cc = ["@ZuseZ4"]
1442[mentions."compiler/rustc_ast/src/expand/autodiff_attrs.rs"]
1443cc = ["@ZuseZ4"]
1444[mentions."compiler/rustc_ast/src/expand/typetree.rs"]
1445cc = ["@ZuseZ4"]
1446[mentions."compiler/rustc_builtin_macros/src/autodiff.rs"]
1447cc = ["@ZuseZ4"]
1448[mentions."compiler/rustc_codegen_llvm/src/builder/autodiff.rs"]
1449cc = ["@ZuseZ4"]
1450[mentions."compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs"]
1451cc = ["@ZuseZ4"]
1452
1453[mentions."library/core/src/fmt/rt.rs"]
1454cc = ["@m-ou-se"]
1455[mentions."compiler/rustc_ast_lowering/src/format.rs"]
1456cc = ["@m-ou-se"]
1457
1458[mentions."src/ci/github-actions/jobs.yml"]
1459message = """
1460> [!WARNING]
1461>
1462> If you are changing how CI LLVM is built or linked, make sure to bump
1463> `src/bootstrap/download-ci-llvm-stamp`.
1464"""
1465cc = ["@jieyouxu"]
1466
1467# Content-based mentions
1468
1469[mentions."#[miri::intrinsic_fallback_is_spec]"]
1470type = "content"
1471message = """
1472⚠️ `#[miri::intrinsic_fallback_is_spec]` must only be used if the function actively checks for all UB cases,
1473and explores the possible non-determinism of the intrinsic.
1474"""
1475cc = ["@rust-lang/miri"]
1476
1477[mentions."#[rustc_allow_const_fn_unstable"]
1478type = "content"
1479message = """
1480⚠️ `#[rustc_allow_const_fn_unstable]` needs careful audit to avoid accidentally exposing unstable
1481implementation details on stable.
1482"""
1483cc = ["@rust-lang/wg-const-eval"]
1484
1485[mentions."#[rustc_intrinsic_const_stable_indirect]"]
1486type = "content"
1487message = """
1488⚠️ `#[rustc_intrinsic_const_stable_indirect]` controls whether intrinsics can be exposed to stable const
1489code; adding it needs t-lang approval.
1490"""
1491cc = ["@rust-lang/wg-const-eval"]
1492
1493[mentions."compiler/rustc_attr_parsing/src/attributes/diagnostic"]
1494message = "Some changes occurred to diagnostic attributes."
1495cc = ["@mejrs"]
1496[mentions."compiler/rustc_hir/src/attrs/diagnostic.rs"]
1497message = "Some changes occurred to diagnostic attributes."
1498cc = ["@mejrs"]
1499
1500# ------------------------------------------------------------------------------
1501# PR assignments
1502# ------------------------------------------------------------------------------
1503
1504[assign]
1505warn_non_default_branch.enable = true
1506contributing_url = "https://rustc-dev-guide.rust-lang.org/getting-started.html"
1507
1508[[assign.warn_non_default_branch.exceptions]]
1509title = "[beta"
1510branch = "beta"
1511
1512[[assign.warn_non_default_branch.exceptions]]
1513title = "[stable"
1514branch = "stable"
1515
1516[assign.adhoc_groups]
1517compiler_leads = [
1518 "@davidtwco",
1519 "@boxyuwu",
1520]
1521libs = [
1522 "@Mark-Simulacrum",
1523 "@workingjubilee",
1524 "@jhpratt",
1525 "@tgross35",
1526 "@thomcc",
1527 "@joboet",
1528 "@nia-e",
1529 "@LawnGnome",
1530 "@clarfonthey",
1531 "@aapoalas",
1532 "@Darksonn",
1533 "@JohnTitor",
1534]
1535infra-ci = [
1536 "@Mark-Simulacrum",
1537 "@Kobzol",
1538 "@marcoieni",
1539 "@jdno",
1540 "@jieyouxu",
1541]
1542docs = [
1543 "@ehuss",
1544 "@GuillaumeGomez",
1545]
1546codegen = [
1547 "@dianqk",
1548 "@madsmtm",
1549 "@saethlin",
1550 "@workingjubilee",
1551 "@WaffleLapkin",
1552]
1553query-system = [
1554 "@oli-obk",
1555]
1556incremental = [
1557 "@wesleywiser",
1558]
1559diagnostics = [
1560 "@davidtwco",
1561 "@oli-obk",
1562 "@chenyukang",
1563 "@TaKO8Ki",
1564 "@JohnTitor",
1565]
1566parser = [
1567 "@davidtwco",
1568 "@nnethercote",
1569 "@petrochenkov",
1570 "@spastorino",
1571]
1572lexer = [
1573 "@nnethercote",
1574 "@petrochenkov",
1575 "@chenyukang",
1576]
1577arena = [
1578 "@nnethercote",
1579 "@spastorino",
1580]
1581mir = [
1582 "@oli-obk",
1583 "@matthewjasper",
1584 "@saethlin",
1585]
1586mir-opt = [
1587 "@oli-obk",
1588 "@wesleywiser",
1589 "@saethlin",
1590]
1591borrowck = [
1592 "@davidtwco",
1593 "@matthewjasper"
1594]
1595ast_lowering = [
1596 "@spastorino",
1597]
1598debuginfo = [
1599 "@davidtwco"
1600]
1601fallback = [
1602 "@Mark-Simulacrum",
1603 "@jieyouxu",
1604]
1605style-team = [
1606 "@calebcartwright",
1607 "@joshtriplett",
1608 "@traviscross",
1609]
1610compiletest = [
1611 "@jieyouxu",
1612]
1613dep-bumps = [
1614 "@clubby789",
1615]
1616
1617[assign.owners]
1618"/.github/workflows" = ["infra-ci"]
1619"/Cargo.lock" = ["@Mark-Simulacrum"]
1620"/Cargo.toml" = ["@Mark-Simulacrum"]
1621"/compiler" = ["compiler"]
1622"/compiler/rustc_abi" = ["compiler", "codegen"]
1623"/compiler/rustc_arena" = ["compiler", "arena"]
1624"/compiler/rustc_ast" = ["compiler", "parser"]
1625"/compiler/rustc_ast_lowering" = ["compiler", "ast_lowering"]
1626"/compiler/rustc_data_structures/src/stable_hash.rs" = ["compiler", "incremental"]
1627"/compiler/rustc_hir_analysis" = ["compiler", "types"]
1628"/compiler/rustc_incremental" = ["compiler", "incremental"]
1629"/compiler/rustc_borrowck" = ["compiler", "borrowck"]
1630"/compiler/rustc_lexer" = ["compiler", "lexer"]
1631"/compiler/rustc_llvm" = ["@cuviper"]
1632"/compiler/rustc_codegen_llvm/src/debuginfo" = ["compiler", "debuginfo"]
1633"/compiler/rustc_codegen_ssa" = ["compiler", "codegen"]
1634"/compiler/rustc_middle/src/dep_graph" = ["compiler", "incremental", "query-system"]
1635"/compiler/rustc_middle/src/ich.rs" = ["compiler", "incremental", "query-system"]
1636"/compiler/rustc_middle/src/mir" = ["compiler", "mir"]
1637"/compiler/rustc_middle/src/traits" = ["compiler", "types"]
1638"/compiler/rustc_middle/src/query" = ["compiler", "query-system"]
1639"/compiler/rustc_middle/src/ty" = ["compiler", "types"]
1640"/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
1641"/compiler/rustc_mir_build/src/builder" = ["compiler", "mir"]
1642"/compiler/rustc_mir_transform" = ["compiler", "mir", "mir-opt"]
1643"/compiler/rustc_public_bridge" = ["project-rustc-public"]
1644"/compiler/rustc_parse" = ["compiler", "parser"]
1645"/compiler/rustc_parse/src/lexer" = ["compiler", "lexer"]
1646"/compiler/rustc_query_impl" = ["compiler", "query-system"]
1647"/compiler/rustc_trait_selection" = ["compiler", "types"]
1648"/compiler/rustc_traits" = ["compiler", "types"]
1649"/compiler/rustc_type_ir" = ["compiler", "types"]
1650"/compiler/rustc_public" = ["project-rustc-public"]
1651"/library/alloc" = ["libs"]
1652"/library/alloctests" = ["libs"]
1653"/library/core" = ["libs"]
1654"/library/coretests" = ["libs"]
1655"/library/panic_abort" = ["libs"]
1656"/library/panic_unwind" = ["libs"]
1657"/library/proc_macro" = ["@petrochenkov"]
1658"/library/std" = ["libs", "@ChrisDenton"]
1659"/library/std/src/sys/pal/windows" = ["@ChrisDenton"]
1660"/library/stdarch" = ["libs"]
1661"/library/std_detect" = ["libs"]
1662"/library/test" = ["libs"]
1663"/src/bootstrap" = ["bootstrap"]
1664"/src/ci" = ["infra-ci"]
1665"/src/doc" = ["docs"]
1666"/src/doc/book" = ["@ehuss"]
1667"/src/doc/edition-guide" = ["@ehuss"]
1668"/src/doc/embedded-book" = ["@ehuss"]
1669"/src/doc/nomicon" = ["@ehuss"]
1670"/src/doc/reference" = ["@ehuss"]
1671"/src/doc/rust-by-example" = ["@ehuss"]
1672"/src/doc/rustc" = ["compiler", "@ehuss"]
1673"/src/doc/rustc-dev-guide" = ["compiler"]
1674"/src/doc/rustdoc" = ["rustdoc"]
1675"/src/doc/style-guide" = ["style-team"]
1676"/src/doc/unstable-book" = ["compiler"]
1677"/src/etc" = ["@Mark-Simulacrum"]
1678"/src/librustdoc" = ["rustdoc"]
1679"/src/llvm-project" = ["@cuviper"]
1680"/src/rustdoc-json-types" = ["rustdoc"]
1681"/src/stage0" = ["bootstrap"]
1682"/tests/assembly-llvm" = ["compiler"]
1683"/tests/auxiliary" = ["compiler"]
1684"/tests/codegen-llvm" = ["compiler"]
1685"/tests/codegen-units" = ["compiler"]
1686"/tests/COMPILER_TESTS.md" = ["compiler"]
1687"/tests/coverage-run-rustdoc" = ["compiler"]
1688"/tests/coverage" = ["compiler"]
1689"/tests/crashes" = ["compiler"]
1690"/tests/debuginfo" = ["compiler"]
1691"/tests/incremental" = ["compiler"]
1692"/tests/mir-opt" = ["compiler"]
1693"/tests/pretty" = ["compiler"]
1694"/tests/run-make" = ["compiler"]
1695"/tests/run-make-cargo" = ["compiler"]
1696"/tests/rustdoc-html" = ["rustdoc"]
1697"/tests/rustdoc-gui" = ["rustdoc"]
1698"/tests/rustdoc-js-std" = ["rustdoc"]
1699"/tests/rustdoc-js/" = ["rustdoc"]
1700"/tests/rustdoc-json" = ["rustdoc"]
1701"/tests/rustdoc-ui" = ["rustdoc"]
1702"/tests/ui" = ["compiler"]
1703"/tests/ui-fulldeps" = ["compiler"]
1704"/src/tools/build-manifest" = ["bootstrap"]
1705"/src/tools/cargo" = ["@ehuss"]
1706"/src/tools/compiletest" = ["bootstrap", "@wesleywiser", "@oli-obk", "@jieyouxu"]
1707"/src/tools/linkchecker" = ["@ehuss"]
1708"/src/tools/opt-dist" = ["@kobzol"]
1709"/src/tools/run-make-support" = ["@jieyouxu"]
1710"/src/tools/rust-installer" = ["bootstrap"]
1711"/src/tools/rustbook" = ["@ehuss"]
1712"/src/tools/rustdoc" = ["rustdoc"]
1713"/src/tools/rustdoc-js" = ["rustdoc"]
1714"/src/tools/rustdoc-themes" = ["rustdoc"]
1715"/src/tools/rustfmt" = ["rustfmt", "rustfmt-contributors"]
1716"/src/tools/tidy" = ["bootstrap"]
1717"/src/tools/x" = ["bootstrap"]
1718"/src/tools/rustdoc-gui-test" = ["bootstrap"]
1719"/src/tools/libcxx-version" = ["bootstrap"]
1720
1721# Enable review queue tracking
1722# Documentation at: https://forge.rust-lang.org/triagebot/review-queue-tracking.html
1723[assign.review_prefs]
1724
1725[pr-tracking]
1726
1727
1728# ------------------------------------------------------------------------------
1729# Misc
1730# ------------------------------------------------------------------------------
1731
1732[no-merges]
1733exclude_titles = ["Rollup of", "subtree update", "Subtree update"]
1734labels = ["has-merge-commits", "S-waiting-on-author"]
1735
1736[github-releases]
1737format = "rustc"
1738project-name = "Rust"
1739changelog-path = "RELEASES.md"
1740changelog-branch = "main"
1741
1742[shortcut]
1743
1744# Enable issue transfers within the org
1745# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
1746[transfer]
1747
1748# Enable `@rustbot note` functionality
1749# Documentation at: https://forge.rust-lang.org/triagebot/note.html
1750[note]
1751
1752[behind-upstream]
1753days-threshold = 28
1754
1755# Canonicalize issue numbers to avoid closing the wrong issue
1756# when commits are included in subtrees, as well as warning links in commits.
1757# Documentation at: https://forge.rust-lang.org/triagebot/issue-links.html
1758[issue-links]
1759
1760# Allow members to formally register concerns (`@rustbot concern my concern`)
1761# Documentation at: https://forge.rust-lang.org/triagebot/concern.html
1762[concern]
1763labels = ["S-waiting-on-concerns"]
1764
1765# Enable comments linking to triagebot range-diff when a PR is rebased
1766# onto a different base commit
1767# Documentation at: https://forge.rust-lang.org/triagebot/range-diff.html
1768[range-diff]
1769
1770# Adds at the end of a review body a link to view the changes that happened
1771# since the review
1772# Documentation at: https://forge.rust-lang.org/triagebot/review-changes-since.html
1773[review-changes-since]
1774
1775# Adds a "View all comments" link on the issue/PR body that shows all the comments of it
1776# Documentation at: https://forge.rust-lang.org/triagebot/view-all-comments-link.html
1777[view-all-comments-link]