Skip to content

"drm is ambiguous" error during compilation #5

Description

@spflaumer

When importing the 'drm' module with use drm::drm (or use drm::*), cargo check returns the E0659 error: "drm` is ambiguous", as rustc can not differentiate between the 'drm' library and module it seems. Since writing 'drm::drm' each time to use something from that module seems like a hassle, is there any way to change the name of either the library within Cargo.toml (the lib.name key to be precise) or the name of the 'drm' module within lib.rs?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions