-
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
Rollup of 14 pull requests #88527
Merged
Merged
Rollup of 14 pull requests #88527
Conversation
This file contains 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
It might not be obvious that the "path of the current running executable" may (or may not) mean "at the time it was loaded".
Old error output: = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) help: wrap this expression in parentheses | 4 | break '_l $f(;) | ^ ^ New error output: = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) help: wrap this expression in parentheses | 4 | break '_l ($f); | ^ ^
Old error output: 3 | let _: usize = $f; | ----- ^ expected `usize`, found struct `Baz` | | | expected due to this New error output: 3 | let _: usize = $f; | ----- ^^ expected `usize`, found struct `Baz` | | | expected due to this
And adding missing link to Duration from Instant
MaybeUninit::write is stable as of 1.55.0.
Document `std::env::current_exe` possible rename behaviour It might not be obvious that the "path of the current running executable" may (or may not) imply "at the time it was loaded". This came up recently in chat so I thought it might be worth documenting.
…oli-obk Tait nest infer test r? `@oli-obk` Related to rust-lang#86727
…t, r=oli-obk Add inference cycle TAIT test r? `@oli-obk` Related to rust-lang#86727
…=oli-obk Add auto trait leakage TAIT test r? `@oli-obk` Related to rust-lang#86727
…test, r=oli-obk Add weird return types TAIT test r? `@oli-obk` Related to rust-lang#86727
…r, r=cjgillot fix(rustc_parse): correct span in `maybe_whole_expr!` Fixes rust-lang#87812
rustdoc: Stop using resolver for macro loading r? `@jyn514`
Adding examples to docs of `std::time` module And adding missing link to `Duration` from `Instant`.
Remove unused arena macro args
…iser Use MaybeUninit::write in functor.rs MaybeUninit::write is stable as of 1.55.0.
…generics, r=petrochenkov Fix prelude collision lint suggestion for generics with lifetimes Fixes rust-lang#88470 cc `@nikomatsakis`
…ikomatsakis Fix prelude collision suggestions for glob imported traits. Fixes rust-lang#88471 cc `@nikomatsakis`
… r=cjgillot Warn when [T; N].into_iter() is ambiguous in the new edition. Fixes rust-lang#88475 In rust-lang#88475, a situation was found where `[T; N].into_iter()` becomes *ambiguous* in the new edition. This is different than the case where `(&[T; N]).into_iter()` resolves differently, which was the only case handled by the `array_into_iter` lint. This is almost identical to the new-traits-in-the-prelude problem. Effectively, due to the array-into-iter hack disappearing in Rust 2021, we effectively added `IntoIterator` to the 'prelude' in Rust 2021 specifically for arrays. This modifies the prelude collisions lint to detect that case and emit a `array_into_iter` lint in that case.
…ft-just-single-angle-brackets-please-thanks, r=petrochenkov Don't suggest extra <> in dyn suggestion. Fixes rust-lang#88508
@bors r+ p=5 rollup=never |
📌 Commit feafda8 has been approved by |
bors
added
the
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
label
Aug 31, 2021
☀️ Test successful - checks-actions |
This was referenced Aug 31, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
merged-by-bors
This PR was explicitly merged by bors.
rollup
A PR which is a rollup
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
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:
std::env::current_exe
possible rename behaviour #88394 (Documentstd::env::current_exe
possible rename behaviour)maybe_whole_expr!
#88450 (fix(rustc_parse): correct span inmaybe_whole_expr!
)std::time
module #88465 (Adding examples to docs ofstd::time
module)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup