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

Always set #![no_std] to fix redundant import warning #78

Merged
merged 1 commit into from
Mar 3, 2024
Merged

Conversation

taiki-e
Copy link
Collaborator

@taiki-e taiki-e commented Mar 3, 2024

error: the item `Vec` is imported redundantly
   --> src/lib.rs:119:5
    |
119 | use alloc::vec::Vec;
    |     ^^^^^^^^^^^^^^^
   --> /rustc/5119208fd78a77547c705d1695428c88d6791263/library/std/src/prelude/mod.rs:115:13
    |
    = note: the item `Vec` is already defined here
    |
    = note: `-D unused-imports` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_imports)]`

```
error: the item `Vec` is imported redundantly
   --> src/lib.rs:119:5
    |
119 | use alloc::vec::Vec;
    |     ^^^^^^^^^^^^^^^
   --> /rustc/5119208fd78a77547c705d1695428c88d6791263/library/std/src/prelude/mod.rs:115:13
    |
    = note: the item `Vec` is already defined here
    |
    = note: `-D unused-imports` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(unused_imports)]`
```
Copy link
Member

@notgull notgull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@notgull notgull merged commit f577814 into master Mar 3, 2024
14 checks passed
@notgull notgull deleted the taiki-e/ci branch March 3, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants