Skip to content

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

@antkmsft

Description

@antkmsft

This affects

  • specification/riskiq/Easm
  • specification/billingbenefits/BillingBenefits.Management
  • specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management

It goes like this:

// 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CodeGenIssues that relate to code generation

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions