diff options
Diffstat (limited to 'src/test/ui/suggestions/issue-82361.fixed')
-rw-r--r-- | src/test/ui/suggestions/issue-82361.fixed | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/test/ui/suggestions/issue-82361.fixed b/src/test/ui/suggestions/issue-82361.fixed deleted file mode 100644 index d72de982b..000000000 --- a/src/test/ui/suggestions/issue-82361.fixed +++ /dev/null @@ -1,24 +0,0 @@ -// run-rustfix - -fn main() { - let a: usize = 123; - let b: &usize = &a; - - if true { - a - } else { - *b //~ ERROR `if` and `else` have incompatible types [E0308] - }; - - if true { - 1 - } else { - 1 //~ ERROR `if` and `else` have incompatible types [E0308] - }; - - if true { - 1 - } else { - 1 //~ ERROR `if` and `else` have incompatible types [E0308] - }; -} |