-
Notifications
You must be signed in to change notification settings - Fork 913
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
Stabilise --skip-children
#5024
Comments
I'd forgotten this still hadn't been stabilized 👀 It's been around for north of four years so it would certainly be a candidate for stabilization, however, I think this may turn out to be a good thing. Changing this behavior (non-recursive by default, if you are running rustfmt directly then include the new I'll see if the dev tools team is onboard with this, and hopefully will be able to make the main change soon. If not, will certainly consider stabilizing this option. |
Did you manage to ask the dev tools team about it? |
Updates will be posted as and when they are available, and the absence of posted updates means that there are no updates. Stay tuned |
Can you actually change the default behaviour to be non-recursive? Wouldn't that be a breaking change? |
I feel like there's a lot of subtext behind your question which I'll largely avoid except to say that I have no intention of stabilizing this option unless something dramatic changes (and yes I realize that's a change in position from several months ago, but that's due to this being part of a broader strategy that's evolved since then)
This is of course part of the calculus and has always been part of the considerations and discussions. It's a grey area, but no not necessarily breaking. This can be done in a way that's transparent with no behavioral change for |
I'm not sure what you mean. I was just wondering if you really were considering making a breaking change to the behaviour, since this project seems to care quite a lot about stability (e.g. requiring nightly for |
It's unlikely that Rustfmt 2.0 will be released for a while, if ever, so it would be nice if
--skip-children
could be stabilised so we can use stable Rustfmt witharc lint
(a Phabricator tool). It's been around for "a long time".The text was updated successfully, but these errors were encountered: