Skip to content

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

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

Closed
follitude opened this issue Nov 1, 2017 · 2 comments · Fixed by #45715
Closed

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

follitude opened this issue Nov 1, 2017 · 2 comments · Fixed by #45715
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@follitude
Copy link

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

@Mark-Simulacrum Mark-Simulacrum added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-enhancement Category: An issue proposing an enhancement or a PR with one. labels Nov 1, 2017
@Mark-Simulacrum
Copy link
Member

Everything is actually fine, as you can see by the last two lines of the log. I hope to remove the error log if the failure is expected in the future, but not sure yet how best to do that.

This failure is expected (see src/tools/toolstate.toml)
Build completed successfully in 1:46:49

@follitude
Copy link
Author

follitude commented Nov 1, 2017

Is it related to rust-lang/rust-clippy#2192?

bors added a commit that referenced this issue Nov 15, 2017
bors added a commit that referenced this issue Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants