-
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
Improves migrations lint for RFC2229 #86965
Conversation
☔ The latest upstream changes (presumably #86982) made this pull request unmergeable. Please resolve the merge conflicts. |
dc20230
to
64383fa
Compare
This comment has been minimized.
This comment has been minimized.
9b0e94d
to
10088df
Compare
This comment has been minimized.
This comment has been minimized.
10088df
to
a298535
Compare
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.
Wow, these new errors look great!
src/test/ui/closures/2229_closure_analysis/migrations/multi_diagnostics.stderr
Outdated
Show resolved
Hide resolved
@bors r+ |
📌 Commit a298535076fda53510bca2b84ac6d20659366660 has been approved by |
a298535
to
8cbeaf7
Compare
src/test/ui/closures/2229_closure_analysis/migrations/multi_diagnostics.stderr
Show resolved
Hide resolved
Great job on these ! @bors r=nikomatsakis,lqd |
📌 Commit 08c6167 has been approved by |
⌛ Testing commit 08c6167 with merge 09dff05c3eb334d8175bc0f481f4eef9d1566dd8... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
let's see if this was spurious @bors retry |
☀️ Test successful - checks-actions |
Since this test passed this time, it's likely there's a bug in codegen. When the main thread starts doing LLVM work -- which IIUC can happen before codegen is completed -- and codegen is then aborted: the message handler expects codegen to be completed, causing the assertion to fail as in the log above. IIRC @michaelwoerister was involved in this feature of codegen with acrichto: do you want to track this somewhere ? |
This PR improves the current disjoint capture migration lint by providing more information on why drop order or auto trait implementation for a closure is impacted by the use of the new feature.
The drop order migration lint will now look something like this:
The auto trait migration lint will now look something like this:
r? @nikomatsakis
Closes rust-lang/project-rfc-2229#54