diff options
Diffstat (limited to 'src/test/ui/issues/issue-46302.rs')
-rw-r--r-- | src/test/ui/issues/issue-46302.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/issues/issue-46302.rs b/src/test/ui/issues/issue-46302.rs deleted file mode 100644 index ba681d84e..000000000 --- a/src/test/ui/issues/issue-46302.rs +++ /dev/null @@ -1,9 +0,0 @@ -fn foo() { - let s = "abc"; - let u: &str = if true { s[..2] } else { s }; - //~^ ERROR mismatched types -} - -fn main() { - foo(); -} |