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

v0.7.0 rust-analyzer decimal #2607

Closed
cheolgyu opened this issue Jul 11, 2023 · 1 comment
Closed

v0.7.0 rust-analyzer decimal #2607

cheolgyu opened this issue Jul 11, 2023 · 1 comment
Labels

Comments

@cheolgyu
Copy link

Bug Description

  • error
    v0.6.2 decimal -> 0.7.0 rust_decimal

  • ok
    v0.6.2 decimal -> 0.7.0 rust_decimal + bigdecimal

rust-analyzer

warning: 4 warnings emitted

error[E0432]: unresolved import crate::types::numeric
--> C:\Users\CheolGyu.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-postgres-0.7.0\src\types\rust_decimal.rs:10:19
|
10 | use crate::types::numeric::{PgNumeric, PgNumericSign};
| ^^^^^^^ could not find numeric in types

error[E0432]: unresolved import num_bigint
--> C:\Users\CheolGyu.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-postgres-0.7.0\src\types\rust_decimal.rs:1:5
|
1 | use num_bigint::{BigInt, Sign};
| ^^^^^^^^^^ use of undeclared crate or module num_bigint

error: aborting due to 2 previous errors

For more information about this error, try rustc --explain E0432.

error: could not compile sqlx-postgres (lib) due to 3 previous errors

Info

  • SQLx version: [REQUIRED]
  • SQLx features enabled: [REQUIRED]
  • Database server and version: Postgres
  • Operating system: window
  • rustc --version: rustc 1.70.0 (90c541806 2023-05-31)
@cheolgyu cheolgyu added the bug label Jul 11, 2023
@Jezza
Copy link

Jezza commented Jul 11, 2023

Already fixed with #2585, just waiting on a 0.7.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants