Skip to content
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 12 pull requests #91658

Closed
wants to merge 32 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

talagrand and others added 30 commits October 18, 2021 23:33
As a security measure, Windows 11 introduces a new temporary directory API, GetTempPath2.
When the calling process is running as SYSTEM, a separate temporary directory
will be returned inaccessible to non-SYSTEM processes. For non-SYSTEM processes
the behavior will be the same as before.
Windows Server 2022 is a different version from Win11, breaking precent
This commit also updates `stdarch` git submodule.
When we point at a binding to suggest giving it a type, erase all the
type for ADTs that have been resolved, leaving only the ones that could
not be inferred. For small shallow types this is not a problem, but for
big nested types with lots of params, this can otherwise cause a lot of
unnecessary visual output.
When the value of a const param isn't inferred, replace it with the
param name from the definition.
Also restricts r8-r14 from being used on Thumb1 targets as per rust-lang#90736.
Update std::env::temp_dir to use GetTempPath2 on Windows when available.

As a security measure, Windows 11 introduces a new temporary directory API, GetTempPath2.
When the calling process is running as SYSTEM, a separate temporary directory
will be returned inaccessible to non-SYSTEM processes. For non-SYSTEM processes
the behavior will be the same as before.

This can help mitigate against attacks such as this one:
https://medium.com/csis-techblog/cve-2020-1088-yet-another-arbitrary-delete-eop-a00b97d8c3e2

Compatibility risk: Software which relies on temporary files to communicate between SYSTEM and non-SYSTEM
processes may be affected by this change. In many cases, such patterns may be vulnerable to the very
attacks the new API was introduced to harden against.
I'm unclear on the Rust project's tolerance for such change-of-behavior in the standard library. If anything,
this PR is meant to raise awareness of the issue and hopefully start the conversation.

How tested: Taking the example code from the documentation and running it through psexec (from SysInternals) on
Win10 and Win11.
On Win10:
C:\test>psexec -s C:\test\main.exe
<...>
Temporary directory: C:\WINDOWS\TEMP\

On Win11:
C:\test>psexec -s C:\test\main.exe
<...>
Temporary directory: C:\Windows\SystemTemp\
…=nagisa

Only shown relevant type params in E0283 label

When we point at a binding to suggest giving it a type, erase all the
type for ADTs that have been resolved, leaving only the ones that could
not be inferred. For small shallow types this is not a problem, but for
big nested types with lots of params, this can otherwise cause a lot of
unnecessary visual output.
…plett

Remove the reg_thumb register class for asm! on ARM

Also restricts r8-r14 from being used on Thumb1 targets as per rust-lang#90736.

cc `@Lokathor`

r? `@joshtriplett`
…anieu

Add spin_loop hint for RISC-V architecture

This commit uses the PAUSE instruction (rust-lang/stdarch#1262) to implement RISC-V spin loop, and updates `stdarch` submodule to use the merged PAUSE instruction.
…e, r=oli-obk

Allow for failure of subst_normalize_erasing_regions in const_eval

Fixes rust-lang#72845

Using associated types that cannot be normalized previously resulted in an ICE. We now allow for normalization failure and return a "TooGeneric" error in that case.

r? `@RalfJung` maybe?
Evaluate inline const pat early and report error if too generic

Fix rust-lang#90150

``@rustbot`` label: T-compiler F-inline_const
…crum

Remove unneeded access to pretty printer's `s` field in favor of deref

I found it taxing in some of my recent PRs touching the pretty printer to maintain consistency with the surrounding code, since the current code is all over the place about whether it uses `self.s.…()` or `self.…()` for invoking methods of `rustc_ast_pretty::pp::Printer`.

This PR standardizes on `self.…()` &mdash; relying on the `Deref` and `DerefMut` impls introduced by [rust-lang#62532](rust-lang@cab4532).
…omez

Link to rustdoc_json_types docs instead of rustdoc-json RFC

The JSON format has had [many changes](https://github.com/rust-lang/rust/commits/master/src/rustdoc-json-types) since the RFC, so the rustdoc output is the only up to date reference

`@rustdoc` modify labels: +A-rustdoc-json +A-docs
Update cargo

8 commits in 294967c53f0c70d598fc54ca189313c86c576ea7..40dc281755137ee804bc9b3b08e782773b726e44
2021-11-29 19:04:22 +0000 to 2021-12-06 21:54:44 +0000
- Unify the description of quiet flag (rust-lang/cargo#10168)
- Stabilize future-incompat-report (rust-lang/cargo#10165)
- Support abbreviating `--release` as `-r` (rust-lang/cargo#10133)
- doc: nudge towards simple version requirements (rust-lang/cargo#10158)
- Upgrade clap to 2.34.0 (rust-lang/cargo#10164)
- Treat EOPNOTSUPP the same as ENOTSUP when ignoring failed flock calls. (rust-lang/cargo#10157)
- Add note about RUSTFLAGS removal from build scripts. (rust-lang/cargo#10141)
- Make clippy happy (rust-lang/cargo#10139)
rustc_serialize: don't allocate `String`s as key for `BTreeMap`, when `str` is enought
…r=notriddle

Add missing whitespace before disabled HTML attribute

On the [w3c HTML checker](https://validator.w3.org/nu/#textarea), with the current generated HTML we get:

![Screenshot from 2021-12-07 15-10-38](https://user-images.githubusercontent.com/3050060/145044653-b38fb679-da76-4890-853f-b696d8fdc06e.png)

The problem was that we were telling tera to remove too many whitespace.

r? ``@notriddle``
Simplify collection of in-band lifetimes

Split from rust-lang#91403

r? `@oli-obk`
@rustbot rustbot added the rollup A PR which is a rollup label Dec 8, 2021
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=12

@bors
Copy link
Contributor

bors commented Dec 8, 2021

📌 Commit efa06f3 has been approved by matthiaskrgr

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Dec 8, 2021
@bors
Copy link
Contributor

bors commented Dec 8, 2021

⌛ Testing commit efa06f3 with merge 150554c4e912d757ca1ce54a68c6106953fed754...

@rust-log-analyzer
Copy link
Collaborator

The job dist-various-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling std v0.0.0 (/checkout/library/std)
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30336:34
      |
30336 |          "vmovdqu32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30337 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = note: `-D asm-sub-register` implied by `-D warnings`
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30355:40
      |
      |
30355 |          "vmovdqu32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30356 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30374:34
      |
      |
30374 |          "vmovdqu64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30375 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30393:40
      |
      |
30393 |          "vmovdqu64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30394 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30412:32
      |
      |
30412 |          "vmovups {2}{{{1}}}, [{0}]",
      |                                ^^^
30413 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30431:38
      |
      |
30431 |          "vmovups {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30432 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30450:32
      |
      |
30450 |          "vmovupd {2}{{{1}}}, [{0}]",
      |                                ^^^
30451 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30469:38
      |
      |
30469 |          "vmovupd {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30470 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30488:34
      |
      |
30488 |          "vmovdqu32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30489 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30507:40
      |
      |
30507 |          "vmovdqu32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30508 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30526:34
      |
      |
30526 |          "vmovdqu64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30527 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30545:40
      |
      |
30545 |          "vmovdqu64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30546 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30564:32
      |
      |
30564 |          "vmovups {2}{{{1}}}, [{0}]",
      |                                ^^^
30565 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30583:38
      |
      |
30583 |          "vmovups {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30584 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30602:32
      |
      |
30602 |          "vmovupd {2}{{{1}}}, [{0}]",
      |                                ^^^
30603 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30621:38
      |
      |
30621 |          "vmovupd {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30622 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30640:34
      |
      |
30640 |          "vmovdqu32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30641 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30659:40
      |
      |
30659 |          "vmovdqu32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30660 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30678:34
      |
      |
30678 |          "vmovdqu64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30679 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30697:40
      |
      |
30697 |          "vmovdqu64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30698 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30716:32
      |
      |
30716 |          "vmovups {2}{{{1}}}, [{0}]",
      |                                ^^^
30717 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30735:38
      |
      |
30735 |          "vmovups {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30736 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30754:32
      |
      |
30754 |          "vmovupd {2}{{{1}}}, [{0}]",
      |                                ^^^
30755 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30773:38
      |
      |
30773 |          "vmovupd {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30774 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30792:34
      |
      |
30792 |          "vmovdqa32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30793 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30811:40
      |
      |
30811 |          "vmovdqa32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30812 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30830:34
      |
      |
30830 |          "vmovdqa64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30831 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30849:40
      |
      |
30849 |          "vmovdqa64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30850 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30868:32
      |
      |
30868 |          "vmovaps {2}{{{1}}}, [{0}]",
      |                                ^^^
30869 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30887:38
      |
      |
30887 |          "vmovaps {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30888 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30906:32
      |
      |
30906 |          "vmovapd {2}{{{1}}}, [{0}]",
      |                                ^^^
30907 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30925:38
      |
      |
30925 |          "vmovapd {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
30926 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30944:34
      |
      |
30944 |          "vmovdqa32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30945 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30963:40
      |
      |
30963 |          "vmovdqa32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
30964 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:30982:34
      |
      |
30982 |          "vmovdqa64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
30983 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31001:40
      |
      |
31001 |          "vmovdqa64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
31002 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31020:32
      |
      |
31020 |          "vmovaps {2}{{{1}}}, [{0}]",
      |                                ^^^
31021 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31039:38
      |
      |
31039 |          "vmovaps {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
31040 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31058:32
      |
      |
31058 |          "vmovapd {2}{{{1}}}, [{0}]",
      |                                ^^^
31059 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31077:38
      |
      |
31077 |          "vmovapd {2}{{{1}}} {{z}}, [{0}]",
      |                                      ^^^
31078 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31096:34
      |
      |
31096 |          "vmovdqa32 {2}{{{1}}}, [{0}]",
      |                                  ^^^
31097 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31115:40
      |
      |
31115 |          "vmovdqa32 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
31116 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31134:34
      |
      |
31134 |          "vmovdqa64 {2}{{{1}}}, [{0}]",
      |                                  ^^^
31135 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31153:40
      |
      |
31153 |          "vmovdqa64 {2}{{{1}}} {{z}}, [{0}]",
      |                                        ^^^
31154 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31172:32
      |
      |
31172 |          "vmovaps {2}{{{1}}}, [{0}]",
      |                                ^^^
31173 |          in(reg) mem_addr,
      |                  -------- for this argument
      |
      = help: use the `e` modifier to have the register formatted as `eax`
      = help: or use the `r` modifier to keep the default formatting of `rax`
error: formatting may not be suitable for sub-register argument
     --> library/core/src/../../stdarch/crates/core_arch/src/x86/avx512f.rs:31191:38
      |
      |

@bors
Copy link
Contributor

bors commented Dec 8, 2021

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 8, 2021
@matthiaskrgr matthiaskrgr deleted the rollup-1679ky4 branch December 12, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.