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
merged 2 commits into from
Sep 4, 2018
Merged

Compile with newest rustc master #1036

merged 2 commits into from
Sep 4, 2018

Conversation

Xanewok
Copy link
Member

@Xanewok Xanewok commented Sep 3, 2018

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
Copy link
Member

nrc commented Sep 3, 2018

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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants