mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
Add regression test for bad substs
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fn main() {
|
||||
let f: fn(i32) -> Option<i32> = Some::<i32>;
|
||||
f(42);
|
||||
}
|
||||
Reference in New Issue
Block a user