-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Mention crate being analyzed in query description #147137
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
base: master
Are you sure you want to change the base?
Conversation
"running analysis passes on this crate" -> "running analysis passes on crate `foo`" This message is displayed in cycle errors in particular, and in some cases without any spans or any other identifiable information to determine which dependency introduced the cycle.
This PR modifies |
r? @nnethercote rustbot has assigned @nnethercote. Use |
LL | const FOO: usize = FOO; | ||
| ^^^ | ||
= note: ...which again requires simplifying constant for the type system `FOO`, completing the cycle | ||
= note: cycle used when running analysis passes on this crate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does is this line removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest of the PR looks fine, but this is a worry, because this test looks very similar to the other tests but it is changed in a different way.
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0391`. | ||
For more information about this error, try `rustc --explain E0391`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the file-ending newline removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be perfectly honest: not the faintest idea why my changes affect this test at all 😵
"running analysis passes on this crate" -> "running analysis passes on crate
foo
"This message is displayed in cycle errors in particular, and in some cases without any spans or any other identifiable information to determine which dependency introduced the cycle.
Address #74380, but we still need a test for that case in particular.