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

fix: Ensure sqlx reference is unambiguous #3

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Aug 30, 2023

Prior to this change, I see errors such as

error[E0659]: `sqlx` is ambiguous
  --> database-schema-0.1.1/src/sqlite/mod.rs:28:5
   |
28 | use sqlx::fetch_structure_sql;
   |     ^^^^ ambiguous name
   |
   = note: ambiguous because of multiple potential import sources
   = note: `sqlx` could refer to a crate passed with `--extern`
   = help: use `::sqlx` to refer to this crate unambiguously
note: `sqlx` could also refer to the module defined here

Prior to this change, I see errors such as

    error[E0659]: `sqlx` is ambiguous
      --> database-schema-0.1.1/src/sqlite/mod.rs:28:5
       |
    28 | use sqlx::fetch_structure_sql;
       |     ^^^^ ambiguous name
       |
       = note: ambiguous because of multiple potential import sources
       = note: `sqlx` could refer to a crate passed with `--extern`
       = help: use `::sqlx` to refer to this crate unambiguously
    note: `sqlx` could also refer to the module defined here
@nlopes nlopes merged commit cd47c38 into nlopes:main Aug 30, 2023
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.

2 participants