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

Commit

Permalink
Merge pull request #1526 from langston-barrett/ices
Browse files Browse the repository at this point in the history
Add some ICEs
  • Loading branch information
Alexendoo authored Mar 14, 2023
2 parents 7523a33 + 2223765 commit 08dfe89
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions ices/109066.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#![doc(test(""))]
11 changes: 11 additions & 0 deletions ices/109071.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
struct Windows<T> {}

impl<T> Windows {
type Item = &[T];

fn next() -> Option<Self::Item> {}
}

impl<T> Windows<T> {
fn T() -> Option<Self::Item> {}
}
8 changes: 8 additions & 0 deletions ices/109129.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extern crate proc_macro;

trait Project {
type Assoc;
}

#[proc_macro]
fn uwu() -> <() as Project>::Assoc {}
1 change: 1 addition & 0 deletions ices/109143.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
struct Bar<const N: &(for<'a> S<'a>)>;

0 comments on commit 08dfe89

Please sign in to comment.