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

Commit d767c3d

Browse files
authored
Merge pull request #1284 from matthiaskrgr/20220607
2 🍨
2 parents 0171fa4 + e214fe9 commit d767c3d

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)