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

delete imported redundantly #785

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

getong
Copy link
Contributor

@getong getong commented Mar 29, 2024

cargo build warning:

11 |   use crate::{include_file_descriptor_set, Code, Request, Response, Service, Status, Streaming};
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
  ::: /Users/gerald/test/rust/poem/poem-grpc/src/macros.rs:11:1
   |
11 | / macro_rules! include_file_descriptor_set {
12 | |     ($package: tt) => {
13 | |         include_bytes!(concat!(env!("OUT_DIR"), concat!("/", $package)))
14 | |     };
15 | | }
   | |_- the item `include_file_descriptor_set` is already defined here
   |
   = note: `#[warn(unused_imports)]` on by default

@sunli829
Copy link
Collaborator

what Rust version are you using?

@attila-lin
Copy link
Collaborator

rustc 1.79.0-nightly (c9f8f3438 2024-03-27) will reproduce

@sunli829 sunli829 merged commit d7ff091 into poem-web:master Mar 30, 2024
7 checks passed
@getong getong deleted the delete-imported-redundantly branch March 30, 2024 04:47
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