Skip to content

Rollup of 13 pull requests #133500

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

Merged
merged 27 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6484420
the emscripten OS no longer exists on non-wasm targets
RalfJung Nov 24, 2024
f3ad32b
Added a doc test for std::path::strip_prefix
CromFr Nov 24, 2024
d26e29f
Tweak parameter mismatch explanation to not say unknown
compiler-errors Nov 25, 2024
4301d02
Remove dead code stemming from the old effects desugaring (II)
fmease Nov 25, 2024
bf7d909
remove "onur-ozkan" from users_on_vacation
onur-ozkan Nov 25, 2024
402bdd1
Update test expectations to accept LLVM 'initializes' attribute
zmodem Nov 25, 2024
9f1cfec
use ReadCache for archive loading
mustartt Nov 25, 2024
8bc8adb
std::thread: avoid leading whitespace in some panic messages
RalfJung Nov 25, 2024
b77d8fa
tests: Add recursive associated type bound regression tests
Enselic Nov 25, 2024
f62753f
compiletest: remove `pretty-expanded` directive and infra
jieyouxu Nov 25, 2024
95ff642
tests: remove `//@ pretty-expanded` usages
jieyouxu Nov 25, 2024
259020c
tests: Add regression test for recursive enum with Cow and Clone
Enselic Nov 25, 2024
3a42fd2
tests: disable `avr-rjmp-offset` on Windows for now
jieyouxu Nov 25, 2024
7dae9ac
add test for alias-bound shadowing, rename folder
lcnr Nov 26, 2024
620cdfc
Rollup merge of #133411 - RalfJung:emscripten-is-on-wasm, r=workingju…
GuillaumeGomez Nov 26, 2024
ddb6904
Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, …
GuillaumeGomez Nov 26, 2024
af6e2a5
Rollup merge of #133430 - compiler-errors:param-mismatch, r=WaffleLapkin
GuillaumeGomez Nov 26, 2024
03f56d3
Rollup merge of #133443 - fmease:rm-dead-eff-code-ii, r=compiler-errors
GuillaumeGomez Nov 26, 2024
85394cb
Rollup merge of #133450 - onur-ozkan:update-triagebot, r=onur-ozkan
GuillaumeGomez Nov 26, 2024
64c0eff
Rollup merge of #133454 - zmodem:initializes_fix, r=nikic
GuillaumeGomez Nov 26, 2024
7e3422f
Rollup merge of #133462 - mustartt:aix-improve-bootstrap-loading, r=j…
GuillaumeGomez Nov 26, 2024
a06532e
Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboet
GuillaumeGomez Nov 26, 2024
c8c225f
Rollup merge of #133467 - Enselic:recurse-tests, r=lcnr
GuillaumeGomez Nov 26, 2024
0d9a57d
Rollup merge of #133470 - jieyouxu:ugly, r=compiler-errors
GuillaumeGomez Nov 26, 2024
52fcafe
Rollup merge of #133473 - Enselic:cow, r=nnethercote
GuillaumeGomez Nov 26, 2024
5518c62
Rollup merge of #133481 - jieyouxu:avr-jmp-linker, r=saethlin
GuillaumeGomez Nov 26, 2024
0dba983
Rollup merge of #133495 - lcnr:env-shadowing-tests, r=compiler-errors
GuillaumeGomez Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tests: Add regression test for recursive enum with Cow and Clone
  • Loading branch information
Enselic committed Nov 25, 2024
commit 259020c9324d40fccb889d7bb9e462fc28ffe75c
11 changes: 11 additions & 0 deletions tests/ui/traits/solver-cycles/100347-recursive-enum-cow-slice.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//@ check-pass

use std::borrow::Cow;

#[derive(Clone)]
enum Test<'a> {
Int(u8),
Array(Cow<'a, [Test<'a>]>),
}

fn main() {}
Loading