summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs-enums/issue-50731.rs
blob: 209c1e1279b5f3d39293b72c57ea1d99d6a04c3e (plain)
1
2
3
4
5
6
// run-pass
enum Void {}
fn foo(_: Result<(Void, u32), (Void, String)>) {}
fn main() {
    let _: fn(_) = foo;
}