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

Commit ab54073

Browse files
authored
Merge pull request #284 from JohnTitor/add-ices-0900
Add three ICEs
2 parents 5dc8c49 + 0c2229f commit ab54073

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
File renamed without changes.

ices/69092.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#![feature(asm)]
2+
3+
fn main() {
4+
unsafe { asm!(".ascii \"Xen\0\""); }
5+
}

ices/69130.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
enum F {
2+
M (§& u8)
3+
}
4+
5+
fn main() {}

ices/69136.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#![feature(type_alias_impl_trait)]
2+
3+
trait SomeTrait where {}
4+
5+
trait WithAssoc<A> where {
6+
type AssocType;
7+
}
8+
9+
type Return<A> // 'a is not in scope
10+
= impl WithAssoc<A, AssocType = impl SomeTrait + 'a>;
11+
12+
fn my_fun() -> Return<()> {}
13+
14+
fn main() {}

0 commit comments

Comments
 (0)