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

Rust 1.18 regression - sgx-isa 0.1.2 #40962

Closed
alexcrichton opened this Issue Mar 31, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@alexcrichton
Copy link
Member

alexcrichton commented Mar 31, 2017

[code/sgx-utils/sgx-isa[master]] $ CARGO_TARGET_DIR=nightly cargo +nightly build                              [alex@acrichton-desktop]
   Compiling sgx-isa v0.1.2 (file:///home/alex/code/sgx-utils/sgx-isa)
error: expected identifier, found `Clone`
  --> src/lib.rs:36:14
   |
36 |            #[derive($($derive),*)]
   |                       ^^^^^^^
...
65 | enum_def! {
   | -  in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
88  | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
103 | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
143 | enum_def! {
    | - in this macro invocation

error: expected identifier, found `Clone`
   --> src/lib.rs:36:14
    |
36  |           #[derive($($derive),*)]
    |                      ^^^^^^^
...
155 | enum_def! {
    | - in this macro invocation

error: aborting due to 5 previous errors

error: Could not compile `sgx-isa`.

To learn more, run the command again with --verbose.
[code/sgx-utils/sgx-isa[master]] $ rustc +nightly -vV                                                                                                                                                                                                  [alex@acrichton-desktop]
rustc 1.18.0-nightly (5c94997b6 2017-03-30)
binary: rustc
commit-hash: 5c94997b6b1cca3e65ecfc5ba40c033d6838019b
commit-date: 2017-03-30
host: x86_64-unknown-linux-gnu
release: 1.18.0-nightly
LLVM version: 3.9
[code/sgx-utils/sgx-isa[master]] $ git log -1                                                                                                                                                                                                          [alex@acrichton-desktop]
commit 1575f9e3b4f2d241267c28fda7a0151b59be48cf
Author: Jethro Beekman <jethro@jbeekman.nl>
Date:   Sat Nov 5 16:32:50 2016 -0700

    Bump versions

https://github.com/jethrogb/sgx-utils/tree/master/sgx-isa

cc @jethrogb

@jseyfried

This comment has been minimized.

Copy link
Contributor

jseyfried commented Apr 3, 2017

Fixed in #41050.

frewsxcv added a commit to frewsxcv/rust that referenced this issue Apr 6, 2017

Rollup merge of rust-lang#41050 - jseyfried:fix_derive_parsing, r=pet…
…rochenkov

macros: fix bug parsing `#[derive]` invocations

Fixes rust-lang#40962 (introduced in rust-lang#40346).
r? @nrc

frewsxcv added a commit to frewsxcv/rust that referenced this issue Apr 6, 2017

Rollup merge of rust-lang#41050 - jseyfried:fix_derive_parsing, r=pet…
…rochenkov

macros: fix bug parsing `#[derive]` invocations

Fixes rust-lang#40962 (introduced in rust-lang#40346).
r? @nrc

frewsxcv added a commit to frewsxcv/rust that referenced this issue Apr 6, 2017

Rollup merge of rust-lang#41050 - jseyfried:fix_derive_parsing, r=pet…
…rochenkov

macros: fix bug parsing `#[derive]` invocations

Fixes rust-lang#40962 (introduced in rust-lang#40346).
r? @nrc

@bors bors closed this in #41050 Apr 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.