diff options
| author | bors <bors@rust-lang.org> | 2021-08-14 19:59:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-08-14 19:59:08 +0000 |
| commit | 8007b506ac5da629f223b755f5a5391edd5f6d01 (patch) | |
| tree | 1ac94fdab8b713f049d02b1e8fd7b6c89cce657f /src/test/ui/recursion | |
| parent | e55c13e1099b78b1a485202fabc9c1b10b1f1d15 (diff) | |
| parent | 585e4ae6e1ab354fb2f4e3290b3b7302953f7d89 (diff) | |
Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk
Run RemoveZsts pass at mir-opt-level=1 per https://github.com/rust-lang/rust/pull/83177#issuecomment-803942217 This pass removes assignments to ZST places. Perf (from https://github.com/rust-lang/rust/pull/83177#issuecomment-803442557): https://perf.rust-lang.org/compare.html?start=41b315a470d583f6446599984ff9ad3bd61012b2&end=bd5d1b96f0c64c9938feea831789e1b5bb2cd4a2 r? `@oli-obk`
Diffstat (limited to 'src/test/ui/recursion')
| -rw-r--r-- | src/test/ui/recursion/issue-26548-recursion-via-normalize.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/recursion/issue-26548-recursion-via-normalize.stderr b/src/test/ui/recursion/issue-26548-recursion-via-normalize.stderr index 7f197a238e5..be55890c08c 100644 --- a/src/test/ui/recursion/issue-26548-recursion-via-normalize.stderr +++ b/src/test/ui/recursion/issue-26548-recursion-via-normalize.stderr @@ -1,7 +1,7 @@ -error[E0391]: cycle detected when computing layout of `S` +error[E0391]: cycle detected when computing layout of `std::option::Option<S>` | - = note: ...which requires computing layout of `std::option::Option<S>`... - = note: ...which again requires computing layout of `S`, completing the cycle + = note: ...which requires computing layout of `S`... + = note: ...which again requires computing layout of `std::option::Option<S>`, completing the cycle note: cycle used when optimizing MIR for `main` --> $DIR/issue-26548-recursion-via-normalize.rs:15:1 | |
