Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 3e5ca66

Browse files
JohnTitorAlexendoo
authored andcommitted
Add ICEs more and more (#232)
* Add ICEs more and more * Move 66500 to fixed
1 parent 875655b commit 3e5ca66

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

ices/67405.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
struct Bug {
2+
inner: [(); match || 1 {
3+
n => n(),
4+
}],
5+
}
6+
7+
fn main() {}

ices/67424.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
trait Trait1 {
2+
type A;
3+
}
4+
5+
trait Trait2 {
6+
type Type1<B>: Trait1<A = B>;
7+
}
8+
9+
fn main() {}

ices/67498.rs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
fn f<'a, 'b, 'd, 'e> (
2+
x: for<'c> fn(
3+
fn(&'c fn(&'c ())),
4+
fn(&'c fn(&'c ())),
5+
fn(&'c fn(&'c ())),
6+
fn(&'c fn(&'c ())),
7+
)
8+
) -> fn(
9+
fn(&'a fn(&'d ())),
10+
fn(&'b fn(&'d ())),
11+
fn(&'a fn(&'e ())),
12+
fn(&'b fn(&'e ())),
13+
) {
14+
x
15+
}
16+
17+
fn main() {}

0 commit comments

Comments
 (0)