Azure / Azure/typespec-rust

Compilation error: "defined multiple times" (duplicates name from Azure Core, name collision)

Open
#912 5 comments 0 reactions 0 assignees View on GitHub
CodeGen
Dominant language
Rust
Stars
7
Forks
11
Avg merge
2d 5h
Merged PRs (30d)
5

Description

This affects
* `specification/riskiq/Easm`
* `specification/billingbenefits/BillingBenefits.Management`
* `specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management`

It goes like this:
```rs
// easm_client.rs

use crate::generated::models::{
..., Policy, ...,
};
use azure_core::{
...,
http::{
...,
policies::{..., Policy},
...,
},
...,
};
```

Second example is the same as above, but in `models_impl.rs` for `super::JsonFormat` vs `azure_core::http::JsonFormat`.

Third example is the same as above, but in `io_t_operations_data_processor_pipelines_client.rs` for `crate::generated::models::Pipeline` vs `azure_core::http::Pipeline`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.