diff options
Diffstat (limited to 'tests/ui/error-festival.stderr')
| -rw-r--r-- | tests/ui/error-festival.stderr | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/ui/error-festival.stderr b/tests/ui/error-festival.stderr index f71fa7e685c..9db95363791 100644 --- a/tests/ui/error-festival.stderr +++ b/tests/ui/error-festival.stderr @@ -6,8 +6,9 @@ LL | y = 2; | help: a local variable with a similar name exists | -LL | x = 2; - | ~ +LL - y = 2; +LL + x = 2; + | help: you might have meant to introduce a new binding | LL | let y = 2; @@ -76,8 +77,9 @@ LL | let x_is_nonzero = x as bool; | help: compare with zero instead | -LL | let x_is_nonzero = x != 0; - | ~~~~ +LL - let x_is_nonzero = x as bool; +LL + let x_is_nonzero = x != 0; + | error[E0606]: casting `&u8` as `u32` is invalid --> $DIR/error-festival.rs:37:18 |
