Skip to content

cargo build rails on rust nightly 1.13.0 (type macros are experimental) #1214

Closed
@philippkeller

Description

@philippkeller

my config: rustup show yields

Default host: x86_64-apple-darwin

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

active toolchain
----------------

nightly-x86_64-apple-darwin (default)
rustc 1.13.0-nightly (ef9786ce0 2016-09-02)

I get the following error: type macros are experimental, full error message:

> cargo build
   Compiling rustc-serialize v0.3.19
   Compiling unicode-normalization v0.1.2
   Compiling nom v1.2.4
   Compiling quine-mc_cluskey v0.2.4
   Compiling semver v0.2.3
   Compiling regex-syntax v0.3.4
   Compiling matches v0.1.2
   Compiling toml v0.1.30
   Compiling clippy_lints v0.0.87 (file:///private/var/tmp/rust-clippy-0.0.87/clippy_lints)
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
clippy_lints/src/utils/conf.rs:91:27: 91:63 error: type macros are experimental (see issue #27245)
clippy_lints/src/utils/conf.rs:91             $(#[$doc] pub $rust_name: define_Conf!(TY $($ty)+),)+
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy_lints/src/utils/conf.rs:163:1: 180:2 note: in this expansion of define_Conf! (defined in clippy_lints/src/utils/conf.rs)
clippy_lints/src/utils/conf.rs:91:27: 91:63 help: add #![feature(type_macros)] to the crate attributes to enable
error: aborting due to 8 previous errors
error: Could not compile `clippy_lints`.

any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions