Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3941d42

Browse files
committedMar 8, 2025·
crashes: couple more tests
1 parent cdd8af2 commit 3941d42

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

+7
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

+13
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)
Please sign in to comment.