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

E0396 needs to be updated to new format #35694

Closed
sophiajt opened this issue Aug 15, 2016 · 1 comment
Closed

E0396 needs to be updated to new format #35694

sophiajt opened this issue Aug 15, 2016 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints

Comments

@sophiajt
Copy link
Contributor

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

E0396 needs a span_label, updating it from:

error[E0396]: raw pointers cannot be dereferenced in constants
  --> src/test/compile-fail/E0396.rs:13:28
   |
13 | const VALUE: u8 = unsafe { *REG_ADDR }; //~ ERROR E0396
   |                            ^^^^^^^^^

To:

error[E0396]: raw pointers cannot be dereferenced in constants
  --> src/test/compile-fail/E0396.rs:13:28
   |
13 | const VALUE: u8 = unsafe { *REG_ADDR }; //~ ERROR E0396
   |                            ^^^^^^^^^ dereference of raw pointer in constant
@clementmiao
Copy link
Contributor

I can take this!

@bstrie bstrie added the A-diagnostics Area: Messages for errors, warnings, and lints label Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints
Projects
None yet
Development

No branches or pull requests

3 participants