Skip to content

Compile error: clippy_lints does not support feature(macro_vis_matcher) #45680

Closed
@follitude

Description

@follitude

branch: master
Compiling cargo_metadata v0.2.3
Compiling clippy_lints v0.0.166 (file:///home/ryan/git/rust/src/tools/clippy/clippy_lints)
error: :vis fragment specifier is experimental and subject to change (see issue #41022)
--> <declare_lint macros>:1:3
|
1 | ( $ vis : vis $ NAME : ident , $ Level : ident , $ desc : expr ) => (
| ^^^^^^^^^^^
|
= help: add #![feature(macro_vis_matcher)] to the crate attributes to enable

error: :vis fragment specifier is experimental and subject to change (see issue #41022)
--> <declare_lint macros>:1:3
|
1 | ( $ vis : vis $ NAME : ident , $ Level : ident , $ desc : expr ) => (
| ^^^^^^^^^^^
|
= help: add #![feature(macro_vis_matcher)] to the crate attributes to enable

error: aborting due to previous error

error: aborting due to previous error

error: Could not compile clippy_lints.
warning: build failed, waiting for other jobs to finish...
error: Could not compile clippy_lints.
warning: build failed, waiting for other jobs to finish...
error: build failed
This failure is expected (see src/tools/toolstate.toml)
Build completed successfully in 1:46:49

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions