Skip to content

Further debugability improvements for intrinsic-test. #1496

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

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

jacobbramley
Copy link
Contributor

Basic indentation makes tests with deeply-nested scopes much easier to follow. Any more than this would be better done with rustfmt or clang-format, but simple indentation works for both languages and is enough to make the tests easy to follow and debug.

--generate-only is handy for quick iteration, and because it generates all tests, rather than stopping at the first one that fails to compile (or run).

This is useful for debugging.
This change is simple, but makes the generated tests much easier to
follow (and debug).
@rustbot
Copy link
Collaborator

rustbot commented Nov 13, 2023

r? @Amanieu

(rustbot has picked a reviewer for you, use r? to override)

@Amanieu Amanieu merged commit ff57ee0 into rust-lang:master Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants