-
Notifications
You must be signed in to change notification settings - Fork 13.3k
add links to query documentation for E0391 #113622
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @compiler-errors (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
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.
Not sure if I totally agree that we should be linking to the rustc-dev-guide for something that is a user-facing error.
r? diagnostics cc @jyn514 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hmm, should I implement the new error message on miri as well or is there a mistake in my code? The CI seems to fail when running tests on miri here |
you should bless the miri tests as well, since they depend on the internals you're changing. |
The Miri subtree was changed cc @rust-lang/miri |
@rustbot review |
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.
Please rebase over the latest master branch to eliminate the merge commit. You can also squash all commits into one if that's easier
The guide section for rebasing can be found here We try to avoid merge commits in PRs as much as possible |
f7501fc
to
c863ed8
Compare
#113622 (comment) is still unaddressed @rustbot author |
rust/compiler/rustc_query_system/src/error.rs Lines 59 to 63 in a54a668
|
@rustbot review |
This comment has been minimized.
This comment has been minimized.
fwiw i think it looks great as-is :) i don't think it needs a separate diagnostic. |
This lgtm now, you just need to update |
@rustbot review |
@bors r=oli-obk |
☀️ Test successful - checks-actions |
Finished benchmarking commit (0646a5d): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 649.527s -> 649.782s (0.04%) |
This PR adds links to https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for the rustc --explain E0391 and within the compiler error itself.
Fixes: #113184