Skip to content

Commit

Permalink
Rollup merge of rust-lang#62085 - JohnTitor:add-test-for-issue-38591,…
Browse files Browse the repository at this point in the history
… r=Centril

Add test for issue-38591

Closes rust-lang#38591

r? @pnkfelix
  • Loading branch information
Centril committed Jun 25, 2019
2 parents 61fae23 + a257dff commit 6070e2e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/ui/issues/issue-38591.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// run-pass

struct S<T> {
t : T,
s : Box<S<fn(u : T)>>
}

fn f(x : S<u32>) {}

fn main () {}

0 comments on commit 6070e2e

Please sign in to comment.