diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-04-02 00:07:16 +0200 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-04-02 19:50:06 +0200 |
| commit | fb7cf0982b6cba2a77e40ef6b5919e7584a07a95 (patch) | |
| tree | 088e1f494e907a5c11fd4e0a1f3cde08525f9cdd /src | |
| parent | 08879449c645c224d3628bebb3e5b5a50a88cc3f (diff) | |
| download | rust-fb7cf0982b6cba2a77e40ef6b5919e7584a07a95.tar.gz rust-fb7cf0982b6cba2a77e40ef6b5919e7584a07a95.zip | |
Don't suggest dereferencing an `else if` expression
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/deref-suggestion.stderr | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/deref-suggestion.stderr b/src/test/ui/deref-suggestion.stderr index 1720421c7f6..632a279d796 100644 --- a/src/test/ui/deref-suggestion.stderr +++ b/src/test/ui/deref-suggestion.stderr @@ -125,16 +125,6 @@ LL | || }; | ||_____| | |______`if` and `else` have incompatible types | expected `i32`, found `&{integer}` - | -help: consider dereferencing the borrow - | -LL | } else *if true { -LL | -LL | b -LL | } else { -LL | &0 -LL | }; - | error: aborting due to 13 previous errors |
