Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Compile with newest rustc master#1036

Merged
nrc merged 2 commits into
masterfrom
rustc-master
Sep 4, 2018
Merged

Compile with newest rustc master#1036
nrc merged 2 commits into
masterfrom
rustc-master

Conversation

@Xanewok

@Xanewok Xanewok commented Sep 3, 2018

Copy link
Copy Markdown
Contributor

Despite recent Clippy bump in Rust, the current master doesn't compile because clippy_lints::Conf is private. Changed this to clippy_lints::read_conf like in clippy's analogous driver.rs.

I believe this should detect clippy.toml on the filesystem level and the TODO comment can be removed @oli-obk @alexheretic

Will try to pull this in rust-lang/rust#53870 to see if RLS is fixed for the next nightlies.

cc @nrc

This should crawl the FS and use the default Clippy config file (e.g.
clippy.toml)
@nrc

nrc commented Sep 3, 2018

Copy link
Copy Markdown
Member

I've been looking at this too. I don't think the right thing to do is to change the names of the tests - it is an error that Clippy is running at all on those tests.

It seems that rustc doesn't handle `-Aclippy::all` and needs for the
tool lint to be separated (`-A clippy::all`)
@nrc
nrc merged commit 42c7b3c into master Sep 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants