Skip to content

Conversation

cjgillot
Copy link
Contributor

This is a debugging option. The only effect should be on rustc tests.

r? @michaelwoerister

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 20, 2021
@michaelwoerister
Copy link
Member

Thanks for the PR, @cjgillot!

We still need to solve the problem with incr. comp. tests. If we merge this in the current form, any incr. comp. test that forgets to explicitly add -Zquery-dep-graph will just show up as green without actually testing anything. That's too easy a mistake make, I'm afraid.

What's a good way to avoid that?

@rust-log-analyzer

This comment has been minimized.

Copy link
Member

@michaelwoerister michaelwoerister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice -- thank you, @cjgillot!

r=me with that stray comment fixed.

@@ -1012,6 +1018,19 @@ impl CheckAttrVisitor<'tcx> {
}
}

/// Checks if `#[rustc_legacy_const_generics]` is applied to a function and has a valid argument.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment seems to be out of place.

@cjgillot
Copy link
Contributor Author

@bors r=michaelwoerister

@bors
Copy link
Collaborator

bors commented Mar 23, 2021

📌 Commit 2ce044a218350fee21691ee7689838a0bcd6093b has been approved by michaelwoerister

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 23, 2021
@cjgillot
Copy link
Contributor Author

@bors r=michaelwoerister

@bors
Copy link
Collaborator

bors commented Mar 23, 2021

📌 Commit 31447f6 has been approved by michaelwoerister

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Mar 23, 2021
Only enable assert_dep_graph when query-dep-graph is enabled.

This is a debugging option. The only effect should be on rustc tests.

r? `@michaelwoerister`
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Mar 23, 2021
Only enable assert_dep_graph when query-dep-graph is enabled.

This is a debugging option. The only effect should be on rustc tests.

r? `@michaelwoerister`
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 24, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#83051 (Sidebar trait items order)
 - rust-lang#83313 (Only enable assert_dep_graph when query-dep-graph is enabled.)
 - rust-lang#83353 (Add internal io::Error::new_const to avoid allocations.)
 - rust-lang#83391 (Allow not emitting `uwtable` on Android)
 - rust-lang#83392 (Change `-W help` to display edition level.)
 - rust-lang#83393 (Codeblock tooltip position)
 - rust-lang#83399 (rustdoc: Record crate name instead of using `None`)
 - rust-lang#83405 (Slight visual improvements to warning boxes in the docs)
 - rust-lang#83415 (Remove unnecessary `Option` wrapping around `Crate.module`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2f611da into rust-lang:master Mar 24, 2021
@rustbot rustbot added this to the 1.53.0 milestone Mar 24, 2021
@cjgillot cjgillot deleted the assert branch March 25, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants