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

Commit 2223765

Browse files
Add some ICEs
1 parent 7523a33 commit 2223765

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

ices/109066.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#![doc(test(""))]

ices/109071.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
struct Windows<T> {}
2+
3+
impl<T> Windows {
4+
type Item = &[T];
5+
6+
fn next() -> Option<Self::Item> {}
7+
}
8+
9+
impl<T> Windows<T> {
10+
fn T() -> Option<Self::Item> {}
11+
}

ices/109129.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extern crate proc_macro;
2+
3+
trait Project {
4+
type Assoc;
5+
}
6+
7+
#[proc_macro]
8+
fn uwu() -> <() as Project>::Assoc {}

ices/109143.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
struct Bar<const N: &(for<'a> S<'a>)>;

0 commit comments

Comments
 (0)