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

rocket_contrib does not compile on latest nightly (8a37c75a3 2018-05-02) #625

Closed
tim3z opened this issue May 3, 2018 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@tim3z
Copy link
Contributor

tim3z commented May 3, 2018

As it seems the #![feature(macro_reexport)] has been removed in the latest nightly - so rocket_contrib does not compile anymore...

Checking rocket_contrib v0.3.9
error[E0557]: feature has been removed
 --> /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_contrib-0.3.9/src/lib.rs:1:12
  |
1 | #![feature(macro_reexport)]
  |            ^^^^^^^^^^^^^^
  |
note: subsumed by `#![feature(use_extern_macros)]` and `pub use`
 --> /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_contrib-0.3.9/src/lib.rs:1:12
  |
1 | #![feature(macro_reexport)]
  |            ^^^^^^^^^^^^^^

error[E0658]: The attribute `macro_reexport` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
  --> /home/.../.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_contrib-0.3.9/src/lib.rs:47:30
   |
47 | #[cfg_attr(feature = "json", macro_reexport(json_internal))]
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add #![feature(custom_attribute)] to the crate attributes to enable

error: aborting due to 2 previous errors

Some errors occurred: E0557, E0658.
For more information about an error, try `rustc --explain E0557`.
error: Could not compile `rocket_contrib`.
@tim3z tim3z changed the title rocket_contrib does not compile on latest nightly (8a37c75a3 2018-05-02) rocket_contrib does not compile on latest nightly (8a37c75a3 2018-05-02) May 3, 2018
@tim3z
Copy link
Contributor Author

tim3z commented May 3, 2018

See rust-lang/rust#49982

@tim3z
Copy link
Contributor Author

tim3z commented May 3, 2018

Ah never mind #624 already fixes this

@tim3z tim3z closed this as completed May 3, 2018
@SergioBenitez SergioBenitez added the duplicate This issue or pull request already exists label May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants