Skip to content
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

Fix clippy warnings #61

Merged
merged 1 commit into from
Feb 28, 2020
Merged

Fix clippy warnings #61

merged 1 commit into from
Feb 28, 2020

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Feb 28, 2020

This commit fixes the clippy warnings around single_component_path_imports

This commit fixes the clippy warnings around single_component_path_imports
@russcam
Copy link
Contributor Author

russcam commented Feb 28, 2020

clippy check github action is failing with

Checking api_generator v7.6.0-alpha.1 (/home/runner/work/elasticsearch-rs/elasticsearch-rs/api_generator)
  {"reason":"compiler-message","package_id":"elasticsearch 7.6.0-alpha.1 (path+file:///home/runner/work/elasticsearch-rs/elasticsearch-rs/elasticsearch)","target":{"kind":["lib"],"crate_types":["lib"],"name":"elasticsearch","src_path":"/home/runner/work/elasticsearch-rs/elasticsearch-rs/elasticsearch/src/lib.rs","edition":"2018","doctest":true},"message":{"rendered":"error: internal compiler error: src/librustc_mir/dataflow/generic/engine.rs:315: Switch on discriminant of non-ADT\n\n","children":[],"code":null,"level":"error: internal compiler error","message":"src/librustc_mir/dataflow/generic/engine.rs:315: Switch on discriminant of non-ADT","spans":[]}}
  thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:881:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  
  note: the compiler unexpectedly panicked. this is a bug.
  
  note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new
  
  note: Clippy version: clippy 0.0.212 (fc5d0cc 2020-02-24)

looking into

@russcam
Copy link
Contributor Author

russcam commented Feb 28, 2020

can reproduce issue locally. Opened rust-lang/rust-clippy#5238

@russcam russcam merged commit 5d3aeeb into master Feb 28, 2020
@russcam russcam deleted the fix/clippy-warnings branch February 28, 2020 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant