Skip to content

Commit

Permalink
add 2 ices
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jun 7, 2022
1 parent 0171fa4 commit e214fe9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ices/97806.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
struct TestErr<T> {
field: std::marker::PhantomData<T>,
}

impl<T> TestErr<T> {
fn func_a() {}

fn func_b() {
Self::func_a();

let variable = None;
}
}

fn main() {}
1 change: 1 addition & 0 deletions ices/97836.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fn a() where for<T> T: Copy { }

0 comments on commit e214fe9

Please sign in to comment.