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

E0395 needs to be updated to new format #35693

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

E0395 needs to be updated to new format #35693

sophiajt opened this issue Aug 15, 2016 · 1 comment

Comments

@sophiajt
Copy link
Contributor

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

E0395 needs a span_label, updating it from:

error[E0395]: raw pointers cannot be compared in statics
  --> src/test/compile-fail/E0395.rs:14:22
   |
14 | static BAZ: bool = { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR E0395
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To:

error[E0395]: raw pointers cannot be compared in statics
  --> src/test/compile-fail/E0395.rs:14:22
   |
14 | static BAZ: bool = { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR E0395
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comparing raw pointers in static
@clementmiao
Copy link
Contributor

I can take this

steveklabnik added a commit to steveklabnik/rust that referenced this issue Aug 18, 2016
… r=jonathandturner

updated E0395 to new error format

Updated E0395 to new error format.
Part of rust-lang#35233
Fixes rust-lang#35693

Thanks again for letting me help!

r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 19, 2016
… r=jonathandturner

updated E0395 to new error format

Updated E0395 to new error format.
Part of rust-lang#35233
Fixes rust-lang#35693

Thanks again for letting me help!

r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 19, 2016
… r=jonathandturner

updated E0395 to new error format

Updated E0395 to new error format.
Part of rust-lang#35233
Fixes rust-lang#35693

Thanks again for letting me help!

r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 20, 2016
… r=jonathandturner

updated E0395 to new error format

Updated E0395 to new error format.
Part of rust-lang#35233
Fixes rust-lang#35693

Thanks again for letting me help!

r? @jonathandturner
sophiajt pushed a commit to sophiajt/rust that referenced this issue Aug 20, 2016
… r=jonathandturner

updated E0395 to new error format

Updated E0395 to new error format.
Part of rust-lang#35233
Fixes rust-lang#35693

Thanks again for letting me help!

r? @jonathandturner
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

2 participants