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
Closed

Rust 1.18 regression - sgx-isa 0.1.2 #40962

alexcrichton opened this issue Mar 31, 2017 · 1 comment
Assignees
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly.

Comments

@alexcrichton
Copy link
Member

[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

@alexcrichton alexcrichton added the regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. label Mar 31, 2017
@jseyfried
Copy link
Contributor

Fixed in #41050.

frewsxcv added a commit to frewsxcv/rust that referenced this issue Apr 6, 2017
…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
…rochenkov

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

Fixes rust-lang#40962 (introduced in rust-lang#40346).
r? @nrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-nightly Performance or correctness regression from stable to nightly.
Projects
None yet
Development

No branches or pull requests

2 participants