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

E0394 needs to be updated to new format #35692

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

E0394 needs to be updated to new format #35692

sophiajt opened this issue Aug 15, 2016 · 0 comments

Comments

@sophiajt
Copy link
Contributor

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

E0394 needs a span_label, updated title, and a note, changing it from:

error[E0394]: cannot refer to other statics by value, use the address-of operator or a constant instead
  --> src/test/compile-fail/E0394.rs:12:17
   |
12 | static B: u32 = A; //~ ERROR E0394
   |                 ^

To:

error[E0394]: cannot refer to other statics by value
  --> src/test/compile-fail/E0394.rs:12:17
   |
12 | static B: u32 = A; //~ ERROR E0394
   |                 ^ referring to another static by value
   |
   = note: use the address-of operator or a constant instead
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 17, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 17, 2016
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