Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a22ca98

Browse files
authoredMar 9, 2025··
Unrolled build for rust-lang#138192
Rollup merge of rust-lang#138192 - matthiaskrgr:crashes_mar, r=jieyouxu crashes: couple more tests try-job: aarch64-apple try-job: x86_64-msvc-1 try-job: x86_64-gnu try-job: dist-i586-gnu-i586-i686-musl
2 parents 4f52199 + 088b125 commit a22ca98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+569
-0
lines changed
 

‎tests/crashes/136138.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//@ known-bug: #136138
2+
#![feature(min_generic_const_args)]
3+
struct U;
4+
struct S<const N: U>()
5+
where
6+
S<{ U }>:;
7+
fn main() {}

‎tests/crashes/136175-2.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//@ known-bug: #136175
2+
#![feature(generic_const_exprs)]
3+
#![allow(incomplete_features)]
4+
5+
trait Trait {}
6+
7+
struct A<T>(T)
8+
where
9+
[(); std::mem::offset_of!((T,), 0)]:;
10+
11+
fn main() {
12+
let x: A<dyn Trait>;
13+
}

0 commit comments

Comments
 (0)
This repository has been archived.