Skip to content

Commit 095619a

Browse files
authored
Rollup merge of #113586 - compiler-errors:style, r=joshtriplett
Mention style for new syntax in tracking issue template `@rust-lang/style` would like the specification of new syntax in the style guide to be part of the feature stabilization process, in order to avoid situations where new syntax is stabilized and it never has style specified or formatting implemented for it. This most recently occurred with [let-else](https://blog.rust-lang.org/2023/07/01/rustfmt-supports-let-else-statements.html). We've made a lot of progress with the [nightly style procedure](https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md) to unblock rustfmt from experimenting with formatting for new syntax, and T-style's existence means we actually have people who are willing and qualified to make decisions about formatting specification. This check-box should also perhaps include "formatting support implemented in rustfmt", but that's really up to `@rust-lang/rustfmt,` so I'm not volunteering them for any new responsibilities in this PR just yet. Putting this up mostly to discuss with T-lang, though feedback welcome from anyone. --- As more of an implementation detail: alternatively, instead of a this could be just added to the existing rustc-dev-guide chapter(s) on stabilization. r? `@ghost`
2 parents 0887636 + 23a5c0a commit 095619a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/ISSUE_TEMPLATE/tracking_issue.md

+3
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ for larger features an implementation could be broken up into multiple PRs.
3939
- [ ] Implement the RFC (cc @rust-lang/XXX -- can anyone write up mentoring
4040
instructions?)
4141
- [ ] Adjust documentation ([see instructions on rustc-dev-guide][doc-guide])
42+
- [ ] Formatting for new syntax has been added to the [Style Guide] ([nightly-style-procedure])
4243
- [ ] Stabilization PR ([see instructions on rustc-dev-guide][stabilization-guide])
4344

4445
[stabilization-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#stabilization-pr
4546
[doc-guide]: https://rustc-dev-guide.rust-lang.org/stabilization_guide.html#documentation-prs
47+
[nightly-style-procedure]: https://github.com/rust-lang/style-team/blob/master/nightly-style-procedure.md
48+
[Style Guide]: https://github.com/rust-lang/rust/tree/master/src/doc/style-guide
4649

4750
### Unresolved Questions
4851
<!--

0 commit comments

Comments
 (0)