diff options
Diffstat (limited to 'tests/ui/expr/if/bad-if-let-suggestion.rs')
| -rw-r--r-- | tests/ui/expr/if/bad-if-let-suggestion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/expr/if/bad-if-let-suggestion.rs b/tests/ui/expr/if/bad-if-let-suggestion.rs index a8b2a283039..1ff9f3fa3d0 100644 --- a/tests/ui/expr/if/bad-if-let-suggestion.rs +++ b/tests/ui/expr/if/bad-if-let-suggestion.rs @@ -6,7 +6,7 @@ fn a() { //~^ ERROR cannot find value `i` in this scope //~| ERROR `let` expressions in this position are unstable //~| ERROR mismatched types - //~| ERROR `let` expressions are not supported here + //~| ERROR expected expression, found `let` statement } fn b() { |
