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

Remove redundant imports #397

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Remove redundant imports #397

merged 1 commit into from
Feb 22, 2024

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Feb 22, 2024

This fixes CI failure on the latest nightly: https://github.com/rust-lang/portable-simd/actions/runs/8001283064/job/21852194555?pr=396

error: the item `TryFrom` is imported redundantly
 --> crates/core_simd/src/vector.rs:6:21
  |
6 | use core::convert::{TryFrom, TryInto};
  |                     ^^^^^^^
 --> /rustc/3406ada96f8e16e49e947a91db3eba0db45245fa/library/core/src/prelude/mod.rs:46:[30](https://github.com/rust-lang/portable-simd/actions/runs/8001283064/job/21852194555?pr=396#step:5:31)
  |
  = note: the item `TryFrom` is already defined here
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`

error: the item `TryInto` is imported redundantly
 --> crates/core_simd/src/vector.rs:6:30
  |
6 | use core::convert::{TryFrom, TryInto};
  |                              ^^^^^^^
 --> /rustc/[34](https://github.com/rust-lang/portable-simd/actions/runs/8001283064/job/21852194555?pr=396#step:5:35)06ada96f8e16e49e947a91db3eba0db45245fa/library/core/src/prelude/mod.rs:46:39
  |
  = note: the item `TryInto` is already defined here

@calebzulawski calebzulawski merged commit 8c786f3 into rust-lang:master Feb 22, 2024
66 checks passed
@taiki-e taiki-e deleted the imports branch February 22, 2024 12:08
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.

3 participants