-
Notifications
You must be signed in to change notification settings - Fork 898
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
sync subtree #5944
Merged
calebcartwright
merged 31 commits into
rust-lang:master
from
calebcartwright:subtree-sync-2023-10-22
Oct 22, 2023
Merged
sync subtree #5944
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
dc7dc3e
Implement `become` expression formatting in rustfmt
WaffleLapkin ed3e96e
Merge commit '3f7c366fc0464e01ddcaefbd70647cb3da4202be' into rustfmt-…
calebcartwright 80bf3ea
Rollup merge of #112790 - WaffleLapkin:syntactically, r=Nilstrieb
Noratrieb 78331ee
Merge commit 'dca1cf90ad6b8e45afbed2061803befbb2d159e9' into sync-rus…
calebcartwright d0762f0
always emit consider `AutoImplCandidates` for them if they don't also…
Ddystopia 6013a80
On nightly, dump ICE backtraces to disk
estebank a3dfd82
Use a builder instead of boolean/option arguments
oli-obk c0ee8f5
Make `x test src/tools/rustfmt --bless` format rustfmt with the fresh…
oli-obk 08fd164
Unite bless environment variables under `RUSTC_BLESS`
tgross35 e60a9e2
Avoid `into_trees` usage in rustfmt.
nnethercote 1f369f8
Auto merge of #114115 - nnethercote:less-token-tree-cloning, r=petroc…
bors 4eeecae
Auto merge of #113312 - Ddystopia:auto-trait-fun, r=lcnr
bors f122a33
Use builder pattern instead of lots of arguments for `EmitterWriter::…
oli-obk e42bc9e
Fix rustfmt dep
mu001999 d165d4a
Remove `MacDelimiter`.
nnethercote 2c8cc96
Rollup merge of #114300 - MU001999:fix/turbofish-pat, r=estebank
matthiaskrgr e83a7ca
Improve spans for indexing expressions
Noratrieb e6c4606
Auto merge of #114104 - oli-obk:syn2, r=compiler-errors
bors af72b88
Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31
matthiaskrgr 00b60cd
Auto merge of #114481 - matthiaskrgr:rollup-58pczpl, r=matthiaskrgr
bors cef3117
Parse unnamed fields and anonymous structs or unions
frank-king 9c25fbf
Use conditional synchronization for Lock
Zoxc 96e583f
Use relative positions inside a SourceFile.
cjgillot b8e3cb0
Update tools and fulldeps tests
matthewjasper 8ac561a
Fix spans for comments in rustfmt
compiler-errors 0f73981
s/generator/coroutine/
oli-obk 4b5ef37
Rename lots of files that had `generator` in their name
oli-obk f35f252
Merge remote-tracking branch 'upstream/master' into subtree-sync-2023…
calebcartwright 746bf48
chore: bump toolchain and apply minor updates
calebcartwright 75d8497
deps: bump bytecount version
calebcartwright c2515df
tests: fix let chain tests
calebcartwright File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "nightly-2023-07-01" | ||
channel = "nightly-2023-10-22" | ||
components = ["llvm-tools", "rustc-dev"] |
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
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
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
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
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
tests/source/immovable_generators.rs → tests/source/immovable_coroutines.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![feature(generators)] | ||
#![feature(coroutines)] | ||
|
||
unsafe fn foo() { | ||
let mut ga = static || { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Test for issue 85480 | ||
// Pretty print anonymous struct and union types | ||
|
||
// pp-exact | ||
// pretty-compare-only | ||
|
||
struct Foo { | ||
_: union { | ||
_: struct { | ||
a: u8, | ||
b: u16, | ||
}, | ||
c: u32, | ||
}, | ||
d: u64, | ||
e: f32, | ||
} | ||
|
||
fn main() {} |
2 changes: 1 addition & 1 deletion
2
tests/target/immovable_generators.rs → tests/target/immovable_coroutines.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#![feature(generators)] | ||
#![feature(coroutines)] | ||
|
||
unsafe fn foo() { | ||
let mut ga = static || { | ||
|
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
Oops, something went wrong.
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.
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.
Ugh 🤮
I clearly got tired of merge conflicts. Mercifully this is just noise in the changelog, so i'll clean this up later when I add the additional entries
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.
🤣 I know you mentioned that there were a lot of conflicts. No worries on this!
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.
Cleaning up orphan processes