Uh oh!
There was an error while loading. Please reload this page.
Rollup of 5 pull requests - #99546
Closed
Dylan-DPC wants to merge 13 commits into
Closed
Conversation
These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety` feature that stabilized in 1.63.0.
Fix type error Fix continue_value doc comment
…t-generic-suffixes, r=petrochenkov feat: omit suffixes in const generics (e.g. `1_i32`) Closesrust-lang#99255
Add `PhantomData` marker for dropck to `BTreeMap` closesrust-lang#99408
…-item, r=lcnr Do not resolve associated const when there is no provided value Fixesrust-lang#98629, since now we just delay a bug when we're not able to evaluate a const item due to the value not actually being provided by anything. This means compilation proceeds forward to where the "missing item in impl" error is emitted. ---- The root issue here is that when we're looking for the defining `LeafDef` in `resolve_associated_item`, we end up getting the trait's AssocItem instead of the impl's AssocItem (which does not exist). This resolution "succeeds" even if the trait's item has no default value, and then since this item has no value to evaluate, it turns into a const eval error. This root issue becomes problematic (as in rust-lang#98629) when this const eval error happens in wfcheck (for example, due to normalizing the param-env of something that references this const). Since this happens sooner than the check that an impl actually provides all of the items that a trait requires (which happens during later typecheck), we end up aborting compilation early with only this un-informative message. I'm not exactly sure _why_ this bug arises due to rust-lang#96591 -- perhaps valtrees are evaluated more eagerly than in the old system? r? ``@oli-obk`` or ``@lcnr`` since y'all are familiar with const eval and reviewed rust-lang#96591, though feel free to reassign. This is a regression from stable to beta, so I would be open to considering this for beta backport. It seems correct to me, especially given the improvements in the other UI tests this PR touches, but may have some side-effects that I'm unaware of...?
…inators, r=scottmcm Add map_continue and continue_value combinators to ControlFlow As suggested in this comment: rust-lang#75744 (comment) Related tracking issue: rust-lang#75744 r? ``@scottmcm``
Fix the stable version of `AsFd for Arc<T>` and `Box<T>` These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety` feature that stabilized in 1.63.0.
Dylan-DPC
commented
Jul 21, 2022
MemberAuthor
@bors r+ rollup=never p=5 |
bors
commented
Jul 21, 2022
Collaborator
bors
commented
Jul 21, 2022
Collaborator
⌛ Testing commit af3cb7c with merge b1df8e40a98c2672dee0adfcfd1cb280ec8790ce... |
bors
commented
Jul 21, 2022
Collaborator
💔 Test failed - checks-actions |
rust-log-analyzer
commented
Jul 21, 2022
Collaborator
The job Click to see the possible cause of the failure (guessed by this bot) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
1_i32) #99393 (feat: omit suffixes in const generics (e.g.1_i32))PhantomDatamarker for dropck toBTreeMap#99413 (AddPhantomDatamarker for dropck toBTreeMap)AsFd for Arc<T>andBox<T>#99523 (Fix the stable version ofAsFd for Arc<T>andBox<T>)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup