Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E0054 needs to be updated to new format #35791

Closed
sophiajt opened this issue Aug 18, 2016 · 0 comments
Closed

E0054 needs to be updated to new format #35791

sophiajt opened this issue Aug 18, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

From: src/test/compile-fail/E0054.rs

E0054 needs a span_label, updating it from:

error[E0054]: cannot cast as `bool`
  --> src/test/compile-fail/E0054.rs:13:24
   |
13 |     let x_is_nonzero = x as bool; //~ ERROR E0054
   |                        ^^^^^^^^^
   |
   = help: compare with zero instead

To:

error[E0054]: cannot cast as `bool`
  --> src/test/compile-fail/E0054.rs:13:24
   |
13 |     let x_is_nonzero = x as bool; //~ ERROR E0054
   |                        ^^^^^^^^^ unsupported cast
   |
   = help: compare with zero instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant