Skip to content

Commit e214fe9

Browse files
committed
1 parent 0171fa4 commit e214fe9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ices/97806.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
struct TestErr<T> {
2+
field: std::marker::PhantomData<T>,
3+
}
4+
5+
impl<T> TestErr<T> {
6+
fn func_a() {}
7+
8+
fn func_b() {
9+
Self::func_a();
10+
11+
let variable = None;
12+
}
13+
}
14+
15+
fn main() {}

ices/97836.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fn a() where for<T> T: Copy { }

0 commit comments

Comments
 (0)