-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 7 pull requests #111380
Rollup of 7 pull requests #111380
Conversation
Co-authored-by: Esteban Kuber <[email protected]>
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
…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 2a5eb92197e9cf8fe91164dcbf4f9b88c0d7e73d..28dbeaf5c44bc7f5111ad412e99f2d7c5cec6c90 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)
@bors r+ rollup=never p=5 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: 7e7483d26e In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (ecd3dba): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis 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.
CyclesResultsThis 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.
Binary sizeResultsThis 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.
Bootstrap: 656.5s -> 659.045s (0.39%) |
Successful merges:
Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup