diff options
Diffstat (limited to 'src/test/ui/inference/issue-71309.rs')
-rw-r--r-- | src/test/ui/inference/issue-71309.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/inference/issue-71309.rs b/src/test/ui/inference/issue-71309.rs deleted file mode 100644 index c31107d8f..000000000 --- a/src/test/ui/inference/issue-71309.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn foo(x: Result<i32, ()>) -> Result<(), ()> { - let y: u32 = x?; - //~^ ERROR: `?` operator has incompatible types - Ok(()) -} - -fn main() {} |