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

E0558 needs to be updated to new format #36196

Closed
sophiajt opened this issue Sep 1, 2016 · 4 comments
Closed

E0558 needs to be updated to new format #36196

sophiajt opened this issue Sep 1, 2016 · 4 comments

Comments

@sophiajt
Copy link
Contributor

sophiajt commented Sep 1, 2016

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

E0558 needs a help converted to span_label, updating this:

error[E0558]: export_name attribute has invalid format
  --> src/test/compile-fail/E0558.rs:11:1
   |
11 | #[export_name] //~ ERROR E0558
   | ^^^^^^^^^^^^^^
   |
   = help: use #[export_name="*"]

To:

error[E0558]: export_name attribute has invalid format
  --> src/test/compile-fail/E0558.rs:11:1
   |
11 | #[export_name] //~ ERROR E0558
   | ^^^^^^^^^^^^^^ did you mean #[export_name="*"]?
@abhi-sm
Copy link

abhi-sm commented Sep 1, 2016

@jonathandturner
Hi,
@abhiQmar is also my handle. I would request you to assign to that account. Thank you
Didn't want to spam on the common thread hence writing it here. :)
Sorry for the inconvinience

@sophiajt
Copy link
Contributor Author

sophiajt commented Sep 2, 2016

I'll update it :)

@abhiQmar
Copy link
Contributor

abhiQmar commented Sep 2, 2016

Hi @jonathandturner ,

I am stuck at this error while compiling. Tried cargo update on liblog, libserialize and libstd. But still facing the issue. Can you please help me with this.

Compiling serialize v0.0.0 (file:///Users/abhishek/code/rust/src/libserialize)
error[E0460]: found possibly newer version of crate `std` which `log` depends on
  --> src/libserialize/lib.rs:41:14
   |
41 | #[macro_use] extern crate log;
   |              ^^^^^^^^^^^^^^^^^
   |
   = note: perhaps that crate needs to be recompiled?
   = note: crate `std` path #1: /Users/abhishek/code/rust/build/x86_64-apple-darwin/stage0-sysroot/lib/rustlib/x86_64-apple-darwin/lib/libstd-9a82330aa9f25cb1.rlib
   = note: crate `std` path #2: /Users/abhishek/code/rust/build/x86_64-apple-darwin/stage0-sysroot/lib/rustlib/x86_64-apple-darwin/lib/libstd-9a82330aa9f25cb1.dylib
   = note: crate `log` path #1: /Users/abhishek/code/rust/build/x86_64-apple-darwin/stage0-rustc/x86_64-apple-darwin/release/deps/liblog-23e007e69714d505.dylib
   = note: crate `log` path #2: /Users/abhishek/code/rust/build/x86_64-apple-darwin/stage0-rustc/x86_64-apple-darwin/release/deps/liblog-23e007e69714d505.rlib

error: aborting due to previous error

error: Could not compile `serialize`.

I am done with the changes in this commit but can't test it.

@sophiajt
Copy link
Contributor Author

sophiajt commented Sep 2, 2016

Sometimes when you rebase master, you'll need to clean up the old build before you can start the new one (we'd like to fix this at some point):

python src/bootstrap/bootstrap.py --clean

abhiQmar added a commit to abhiQmar/rust that referenced this issue Sep 2, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 2, 2016
…andturner

Update compiler error E0558 to use new error format

Fixes rust-lang#36196 part of rust-lang#35233

r? @jonathandturner
abhiQmar added a commit to abhiQmar/rust that referenced this issue Sep 2, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this issue Sep 2, 2016
…andturner

Update compiler error E0558 to use new error format

Fixes rust-lang#36196 part of rust-lang#35233

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

3 participants