Add test for issue-38591
This commit is contained in:
parent
5d677b2efd
commit
a257dff99c
10
src/test/ui/issues/issue-38591.rs
Normal file
10
src/test/ui/issues/issue-38591.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// run-pass
|
||||
|
||||
struct S<T> {
|
||||
t : T,
|
||||
s : Box<S<fn(u : T)>>
|
||||
}
|
||||
|
||||
fn f(x : S<u32>) {}
|
||||
|
||||
fn main () {}
|
Loading…
Reference in New Issue
Block a user