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 11 pull requests #106818

Closed
wants to merge 28 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

ibraheemdev and others added 28 commits January 10, 2023 21:39
This prevents differences in local environments, which may (for example)
end up with a longer backtrace with more digits in the backtrace prefix,
as happened to me. While we're at it, clean more of the output up,
including the exact location of the error in the compiler.
The previous version added both `EF_RISCV_FLOAT_ABI_DOUBLE` and
`EF_RISCV_RVC` if the "D" extension was enabled on riscv64 targets.
riscv32 targets were not accounted for. This patch changes this
so that:

- Only add `EF_RISCV_RVC` if the "C" extension is enabled
- Add `EF_RISCV_FLOAT_ABI_SINGLE` if the "F" extension is enabled
  and the "D" extension is not
- Add these ELF flags for riscv32 as well
Linker drivers such as gcc, clang or lld often have a version postfix,
e.g clang-12. The previous logic would not account for this and would
fall back to guessing the linker flavor to be the default linker flavor
for the target, which causes linker errors when this is not the case.
By accounting for the possible version postfix and also considering
g++ and clang++, we considerably reduce the amount of times the
fallback guess has to be used.

To simplify matching check for a version postfix and match against the
linker stem without any version postfix.
In contrast to gcc, clang supports all architectures in one binary.
This means there are no variants like `aarch64-linux-gnu-clang` and
there is no need to check for `-clang` variants.
…oli-obk

Add log-backtrace option to show backtraces along with logging

according to rust-lang#90698, I added a compiler option, `-Zlog-backtrace=filter`, where `filter` is a module name, to show backtraces for logging without rebuilding.

resolve rust-lang#90698
…S_ENTAILMENT, r=lcnr

Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow

rust-lang#105575 (comment)

> and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle.

r? ``@lcnr`` when they're back from holiday 😄
…rochenkov

Fix linker detection for linker (drivers) with a version postfix (e.g. clang-12 instead of clang)

Linker (drivers) such as clang / gcc or lld often have a version postfix matching the regex "-\d+$".
Previously, linker detection did not account for the possible version postfix and the fallback value was used, which can cause linker errors due to wrong arguments.
Also remove the check for `-clang`, since there are no architecture specific variants of clang (to my knowledge).

Fixes rust-lang#106454
…rrors

When suggesting writing a fully qualified path probe for appropriate types

Address the more common part of rust-lang#46585.
…est-this, r=estebank

Provide help on closures capturing self causing borrow checker errors

Fixes rust-lang#105761

r? ```@estebank```
…eholk

Warn when using panic-strategy abort for proc-macro crates

See rust-lang#82320, this simply warns for now as that seems like the best step that can be immediately taken (opposed to straight up rejecting or ignoring)
…anieu

Fix `mpsc::SyncSender` spinning behavior

Resolves rust-lang#106668.
…compiler-errors

Normalize test output more thoroughly

This prevents differences in local environments, which may (for example) end up with a longer backtrace with more digits in the backtrace prefix, as happened to me. While we're at it, clean more of the output up, including the exact location of the error in the compiler.

cc rust-lang#106521 which introduced this test
…bjorn3

riscv: Fix ELF header flags

The previous version added both `EF_RISCV_FLOAT_ABI_DOUBLE` and `EF_RISCV_RVC` if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:

- Only add `EF_RISCV_RVC` if the "C" extension is enabled
- Add `EF_RISCV_FLOAT_ABI_SINGLE` if the "F" extension is enabled and the "D" extension is not
- Add these ELF flags for riscv32 as well

Fixes rust-lang#104284

r? rust-lang/risc-v
…omez,petrochenkov

Remove redundant session field

There was already a session available in the resolver, so we access that session.
Update `rental` hack to work with remapped paths.

This PR simply switches to an already-existing helper instead of hard-coding a specific enum variant. The new revision of the test fails without the other changes in this PR.

Context: I'm exploring running UI tests with remapped paths by default in rust-lang#105924 and the rental test was one of the ones that failed.

This may also be useful in the context of rust-lang/rfcs#3127 ("New rustc and Cargo options to allow path sanitisation by default").
@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic labels Jan 13, 2023
@rustbot rustbot added 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jan 13, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=11

@bors
Copy link
Contributor

bors commented Jan 13, 2023

📌 Commit 6a77868 has been approved by matthiaskrgr

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 Jan 13, 2023
@bors
Copy link
Contributor

bors commented Jan 13, 2023

⌛ Testing commit 6a77868 with merge bf4996744c9a3f69e7b02b710e13397614d23c75...

@bors
Copy link
Contributor

bors commented Jan 13, 2023

💔 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 Jan 13, 2023
@rust-log-analyzer
Copy link
Collaborator

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

Click to see the possible cause of the failure (guessed by this bot)
test [ui] rust\tests\ui\wrong-hashset-issue-42918.rs ... ok

failures:

---- [ui] rust\tests\ui\proc-macro\pretty-print-hack-show.rs#remapped stdout ----


3 PRINT-DERIVE INPUT (DEBUG): TokenStream [
5         ident: "enum",
5         ident: "enum",
-         span: remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:1: 4:5 (#0),
+         span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:1: 4:5 (#0),
8     Ident {
8     Ident {
9         ident: "ProceduralMasqueradeDummyType",

-         span: remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6: 4:35 (#0),
+         span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6: 4:35 (#0),
12     Group {
13         delimiter: Brace,

14         stream: TokenStream [
14         stream: TokenStream [
15             Ident {
16                 ident: "Input",
-                 span: remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:13:5: 13:10 (#0),
+                 span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:13:5: 13:10 (#0),
19         ],
19         ],
-         span: remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:36: 14:2 (#0),
+         span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:36: 14:2 (#0),
22 ]
22 ]
23 PRINT-DERIVE INPUT (DISPLAY): enum ProceduralMasqueradeDummyType { Input, }

25 PRINT-DERIVE INPUT (DEBUG): TokenStream [
27         ident: "enum",
27         ident: "enum",
-         span: remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:1: 4:5 (#0),
+         span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:1: 4:5 (#0),
30     Ident {
30     Ident {
31         ident: "ProceduralMasqueradeDummyType",

-         span: remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6: 4:35 (#0),
+         span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6: 4:35 (#0),
34     Group {
35         delimiter: Brace,

36         stream: TokenStream [
36         stream: TokenStream [
37             Ident {
38                 ident: "Input",
-                 span: remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:13:5: 13:10 (#0),
+                 span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:13:5: 13:10 (#0),
41         ],
41         ],
-         span: remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:36: 14:2 (#0),
+         span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:36: 14:2 (#0),
44 ]
45 



The actual stdout differed from the expected stdout.
Actual stdout saved to D:\a\rust\rust\build\x86_64-pc-windows-gnu\test\ui\proc-macro\pretty-print-hack-show.remapped\pretty-print-hack-show.remapped.stdout

1 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
3    |
4 LL | enum ProceduralMasqueradeDummyType {

10    = note: `#[deny(proc_macro_back_compat)]` on by default
11 
12 error: using an old version of `rental`
12 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
14    |
15 LL | enum ProceduralMasqueradeDummyType {


20    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
22 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
24    |
24    |
25 LL | enum ProceduralMasqueradeDummyType {


30    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
32 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
34    |
34    |
35 LL | enum ProceduralMasqueradeDummyType {


40    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
42 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
44    |
44    |
45 LL | enum ProceduralMasqueradeDummyType {


50    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
52 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
54    |
54    |
55 LL | enum ProceduralMasqueradeDummyType {


60    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
62 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
64    |
64    |
65 LL | enum ProceduralMasqueradeDummyType {


70    = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
72 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
74    |
74    |
75 LL | enum ProceduralMasqueradeDummyType {

83 
84 Future incompatibility report: Future breakage diagnostic:
85 error: using an old version of `rental`
85 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
87    |
88 LL | enum ProceduralMasqueradeDummyType {

95 
96 Future breakage diagnostic:
97 error: using an old version of `rental`
97 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
99    |
100 LL | enum ProceduralMasqueradeDummyType {

107 
108 Future breakage diagnostic:
109 error: using an old version of `rental`
109 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
111    |
112 LL | enum ProceduralMasqueradeDummyType {

119 
120 Future breakage diagnostic:
121 error: using an old version of `rental`
121 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
123    |
124 LL | enum ProceduralMasqueradeDummyType {

131 
132 Future breakage diagnostic:
133 error: using an old version of `rental`
133 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
135    |
136 LL | enum ProceduralMasqueradeDummyType {

143 
144 Future breakage diagnostic:
145 error: using an old version of `rental`
145 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
147    |
148 LL | enum ProceduralMasqueradeDummyType {

155 
156 Future breakage diagnostic:
157 error: using an old version of `rental`
157 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
159    |
160 LL | enum ProceduralMasqueradeDummyType {

167 
168 Future breakage diagnostic:
169 error: using an old version of `rental`
169 error: using an old version of `rental`
-   --> remapped/proc-macro/pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
+   --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
171    |
172 LL | enum ProceduralMasqueradeDummyType {


The actual stderr differed from the expected stderr.
The actual stderr differed from the expected stderr.
Actual stderr saved to D:\a\rust\rust\build\x86_64-pc-windows-gnu\test\ui\proc-macro\pretty-print-hack-show.remapped\pretty-print-hack-show.remapped.stderr
To only update this specific test, also pass `--test-args proc-macro\pretty-print-hack-show.rs`


error in revision `remapped`: 2 errors occurred comparing output.
status: exit code: 1
command: PATH="D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage2\bin;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0-bootstrap-tools\x86_64-pc-windows-gnu\release\deps;D:\a\rust\rust\build\x86_64-pc-windows-gnu\stage0\bin;D:\a\rust\rust\ninja;D:\a\rust\rust\mingw64\bin;C:\hostedtoolcache\windows\Python\3.11.1\x64\Scripts;C:\hostedtoolcache\windows\Python\3.11.1\x64;C:\msys64\usr\bin;D:\a\rust\rust\sccache;C:\Program Files\MongoDB\Server\5.0\bin;C:\aliyun-cli;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS;C:\tools\zstd;C:\Program Files\Mercurial;C:\hostedtoolcache\windows\stack\2.9.1\x64;C:\cabal\bin;C:\ghcup\bin;C:\tools\ghc-9.4.2\bin;C:\Program Files\dotnet;C:\mysql\bin;C:\Program Files\R\R-4.2.2\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Program Files (x86)\sbt\bin;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\npm\prefix;C:\hostedtoolcache\windows\go\1.17.13\x64\bin;C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts;C:\hostedtoolcache\windows\Python\3.7.9\x64;C:\hostedtoolcache\windows\Ruby\2.5.9\x64\bin;C:\tools\kotlinc\bin;C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.352-8\x64\bin;C:\Program Files\ImageMagick-7.1.0-Q16-HDRI;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\ProgramData\kind;C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\ProgramData\Chocolatey\bin;C:\Program Files\PowerShell\7;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\OpenSSL\bin;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\CMake\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.6\bin;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI;C:\tools\php;C:\Program Files (x86)\sbt\bin;C:\SeleniumWebDrivers\ChromeDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Files (x86)\Microsoft BizTalk Server;C:\Program Files\LLVM\bin;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage2\\bin\\rustc.exe" "D:\\a\\rust\\rust\\tests\\ui\\proc-macro\\pretty-print-hack-show.rs" "-Zthreads=1" "--target=x86_64-pc-windows-gnu" "--cfg" "remapped" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\ui\\proc-macro\\pretty-print-hack-show.remapped" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\native\\rust-test-helpers" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\test\\ui\\proc-macro\\pretty-print-hack-show.remapped\\auxiliary" "-Z" "span-debug" "--remap-path-prefix=D:\\a\\rust\\rust\\tests\\ui=remapped"
--- stdout -------------------------------
PRINT-DERIVE INPUT (DISPLAY): enum ProceduralMasqueradeDummyType { Input, }
PRINT-DERIVE RE-COLLECTED (DISPLAY): enum ProceduralMasqueradeDummyType { Input }
PRINT-DERIVE INPUT (DEBUG): TokenStream [
        ident: "enum",
        ident: "enum",
        span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:1: 4:5 (#0),
    Ident {
    Ident {
        ident: "ProceduralMasqueradeDummyType",
        span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6: 4:35 (#0),
    Group {
        delimiter: Brace,
        stream: TokenStream [
            Ident {
            Ident {
                ident: "Input",
                span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:13:5: 13:10 (#0),
        ],
        ],
        span: remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:36: 14:2 (#0),
]
]
PRINT-DERIVE INPUT (DISPLAY): enum ProceduralMasqueradeDummyType { Input, }
PRINT-DERIVE RE-COLLECTED (DISPLAY): enum ProceduralMasqueradeDummyType { Input }
PRINT-DERIVE INPUT (DEBUG): TokenStream [
        ident: "enum",
        ident: "enum",
        span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:1: 4:5 (#0),
    Ident {
    Ident {
        ident: "ProceduralMasqueradeDummyType",
        span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6: 4:35 (#0),
    Group {
        delimiter: Brace,
        stream: TokenStream [
            Ident {
            Ident {
                ident: "Input",
                span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:13:5: 13:10 (#0),
        ],
        ],
        span: remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:36: 14:2 (#0),
]
------------------------------------------
--- stderr -------------------------------
error: using an old version of `rental`
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
error: aborting due to 8 previous errors

Future incompatibility report: Future breakage diagnostic:
error: using an old version of `rental`
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default
Future breakage diagnostic:
error: using an old version of `rental`
  --> remapped\proc-macro\pretty-print-hack/rental-0.5.5/src/lib.rs:4:6
   |
   |
LL | enum ProceduralMasqueradeDummyType {
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: for more information, see issue #83125 <https://github.com/rust-lang/rust/issues/83125>
   = note: older versions of the `rental` crate will stop compiling in future versions of Rust; please update to `rental` v0.5.6, or switch to one of the `rental` alternatives
   = note: `#[deny(proc_macro_back_compat)]` on by default



failures:
failures:
    [ui] rust\tests\ui\proc-macro\pretty-print-hack-show.rs#remapped

test result: FAILED. 14018 passed; 1 failed; 162 ignored; 0 measured; 0 filtered out; finished in 518.27s

Some tests failed in compiletest suite=ui mode=ui host=x86_64-pc-windows-gnu target=x86_64-pc-windows-gnu
Build completed unsuccessfully in 0:36:55
make: *** [Makefile:80: ci-mingw-subset-2] Error 1

@matthiaskrgr matthiaskrgr deleted the rollup-3bompf9 branch March 16, 2024 18:18
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 rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.