Skip to content

Commit 6070e2e

Browse files
authored
Rollup merge of rust-lang#62085 - JohnTitor:add-test-for-issue-38591, r=Centril
Add test for issue-38591 Closes rust-lang#38591 r? @pnkfelix
2 parents 61fae23 + a257dff commit 6070e2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/test/ui/issues/issue-38591.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// run-pass
2+
3+
struct S<T> {
4+
t : T,
5+
s : Box<S<fn(u : T)>>
6+
}
7+
8+
fn f(x : S<u32>) {}
9+
10+
fn main () {}

0 commit comments

Comments
 (0)