Skip to content

Conversation

@Dylan-DPC
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

chiw-goog and others added 30 commits April 22, 2023 01:00
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
Such implementations are usually mistakes and are not used in the compiler or standard library (after this commit) so forbid them with `min_specialization`.
Add an obligation cause for these error so that the error points to the implementations that caused the error.
We really shouldn't be naming functions `fn check_*` unless they're doing *typechecking*. It's especially misleading when we're doing this inside of HIR typeck.
Add GNU Property Note Fix rust-lang#103001 Generates the missing property note: ``` Displaying notes found in: .note.gnu.property Owner Data size	Description GNU 0x00000010	NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: IBT ```
… r=cjgillot Tweak borrow suggestion span Avoids a `span_to_snippet` call when we don't need to surround the expression in parentheses. The fact that the suggestion was using the whole span of the expression rather than just appending a `&` was prevented me from using `// run-rustfix` in another PR (rust-lang#110432 (comment)). Also some drive-by renames of functions that have been annoying me for a bit.
…stebank tweak "make mut" spans when assigning to locals Work towards fixing rust-lang#106857 This PR just cleans up a lot of spans which is helpful before properly fixing the issues. Best reviewed commit-by-commit. r? `@estebank`
Implement builtin # syntax and use it for offset_of!(...) Add `builtin #` syntax to the parser, as well as a generic infrastructure to support both item and expression position builtin syntaxes. The PR also uses this infrastructure for the implementation of the `offset_of!` macro, added by rust-lang#106934. cc `@petrochenkov` `@DrMeepster` cc rust-lang#110680 `builtin #` tracking issue cc rust-lang#106655 `offset_of!` tracking issue
Dylan-DPC added 3 commits May 9, 2023 12:33
…ilstrieb Suggest let for possible binding with ty Origin from rust-lang#109128 (comment) r? `@Nilstrieb`
…s, r=compiler-errors Min specialization improvements - Don't allow specialization impls with no items, such implementations are probably not correct and only occur as mistakes in the compiler and standard library - Fix a missing normalization call - Adds spans for lifetime errors from overly general specializations Closes rust-lang#79457 Closes rust-lang#109815
Update books ## rust-lang/edition-guide 1 commits in 6038be9d37d7251c966b486154af621d1794d7af..f63e578b92ff43e8cc38fcaa257b660f45c8a8c2 2023-04-26 18:40:19 UTC to 2023-04-26 18:40:19 UTC - Fix grammar (rust-lang/edition-guide#281) ## rust-embedded/book 2 commits in 897fcf566f16bf87bf37199bdddec1801fd00532..d9eb4c3f75435b008881062ffa77bf0d1527b37d 2023-05-08 10:06:29 UTC to 2023-05-08 07:19:03 UTC - Update Interoperability section (rust-embedded/book#351) - Update c-with-rust.md (rust-embedded/book#352) ## rust-lang/reference 3 commits in 1f8dc727e94ae4ef92adf70df979521a1ea1143e..28dc0f3576b55f5e57c5d6e65cd68ba3161e9fd5 2023-05-06 20:25:36 UTC to 2023-05-05 01:51:00 UTC - Add an entry for macro_rules in the "Weak keywords" lexer block (rust-lang/reference#1356) - Document f16c target feature (rust-lang/reference#1337) - Fix example for non-x86 targets (rust-lang/reference#1334) ## rust-lang/rust-by-example 4 commits in 31961fe22521a779070a44a8f30a2b00a20b6212..8ee9528b72b927cff8fd32346db8bbd1198816f0 2023-05-01 21:18:34 UTC to 2023-04-25 11:19:41 UTC - add: zero padding example (rust-lang/rust-by-example#1706) - Update reenter_question_mark.md (rust-lang/rust-by-example#1705) - Clarify array out-of-bounds behavior. (rust-lang/rust-by-example#1703) - Update README.md (rust-lang/rust-by-example#1704) ## rust-lang/rustc-dev-guide 2 commits in 2a5eb92..28dbeaf 2023-05-02 02:20:21 UTC to 2023-04-26 19:09:10 UTC - Add unset-exec-env compiletest header. (rust-lang/rustc-dev-guide#1682) - extend the sixth trait system requirement (rust-lang/rustc-dev-guide#1671)
@rustbot rustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels May 9, 2023
@Dylan-DPC
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented May 9, 2023

📌 Commit 9d913eb has been approved by Dylan-DPC

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 9, 2023
@bors
Copy link
Collaborator

bors commented May 9, 2023

⌛ Testing commit 9d913eb with merge ecd3dba...

@bors
Copy link
Collaborator

bors commented May 9, 2023

☀️ Test successful - checks-actions
Approved by: Dylan-DPC
Pushing ecd3dba to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 9, 2023
@bors bors merged commit ecd3dba into rust-lang:master May 9, 2023
@rustbot rustbot added this to the 1.71.0 milestone May 9, 2023
@rust-timer
Copy link
Collaborator

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (ecd3dba): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This 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.

mean range count
Regressions ❌
(primary)
1.1% [1.1%, 1.1%] 3
Regressions ❌
(secondary)
1.2% [1.2%, 1.2%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.8% [-0.8%, -0.8%] 1
All ❌✅ (primary) 1.1% [1.1%, 1.1%] 3

Cycles

Results

This 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.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
3.7% [2.3%, 4.8%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Binary size

Results

This 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.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.1% [0.0%, 0.2%] 33
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Bootstrap: 656.5s -> 659.045s (0.39%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic 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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

10 participants