-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add debug calls #101503
Add debug calls #101503
Conversation
We don't really have standards on what to mark as debug or trace, but do you mind passing over this one more time to make sure that some really-frequently-called functions (or minor ones) are changed debug -> trace, otherwise r=me since this is relatively simple PR |
I've gone ahead and replaced the ones you've noted, but there are still in this file some things that use debug and some others that trace. I'd say that we should open an issue to, first properly make a policy about this and then change the compiler to do it more properly. @bors r=compiler-errors |
📌 Commit 89a7650f9a9b134e32f26f664a47bff18998494f has been approved by It is now in the queue for this repository. |
🌲 The tree is currently closed for pull requests below priority 1000. This pull request will be tested once the tree is reopened. |
89a7650
to
d42afd2
Compare
Ups forgot to force push ... @bors r=compiler-errors |
🌲 The tree is currently closed for pull requests below priority 1000. This pull request will be tested once the tree is reopened. |
@bors rollup |
…iaskrgr Rollup of 14 pull requests Successful merges: - rust-lang#101343 (Add -api-level to pm command) - rust-lang#101416 (stdio: Document no support for writing to non-blocking stdio/stderr) - rust-lang#101435 (Remove unnecessary `EMIT_MIR_FOR_EACH_BITWIDTH`) - rust-lang#101493 (Pass ImplTraitContext as &mut to avoid the need of ImplTraitContext::reborrow) - rust-lang#101502 (Do not suggest a semicolon for a macro without `!`) - rust-lang#101503 (Add debug calls) - rust-lang#101506 (rustdoc: remove unused CSS `#main-content > .since`) - rust-lang#101507 (rustdoc: remove unused CSS `#main-content > table td`) - rust-lang#101521 (Rustdoc-Json: More accurate struct type.) - rust-lang#101525 (Fix typo in pass_manager.rs) - rust-lang#101534 (rustdoc: remove unused mobile CSS `.rustdoc { flex-direction }`) - rust-lang#101535 (Fix error printing mistake in tidy) - rust-lang#101536 (Add documentation for Attr::is_doc_comment) - rust-lang#101538 (rustdoc: remove unused CSS `.content .methods > div`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
@oli-obk requested this and other changes as a way of simplifying #101345. This is just going to make the diff of #101345 smaller.
r? @oli-obk @cjgillot