non-local impl
definition, they should be avoided as they go against expectation
#4094
Labels
impl
definition, they should be avoided as they go against expectation
#4094
Bug Description
In our code https://github.com/GreptimeTeam/greptimedb/blob/main/src/script/src/python/pyo3/vector_impl.rs#L94 like
Compile with toolchain
nightly-2024-04-18
would get the following error:Steps to Reproduce
git clone https://github.com/waynexia/greptimedb.git cd greptimedb git checkout update-toolchain-3 make clippy
Source
Backtrace
Your operating system and version
Arch Linux x86_64 6.8.6-arch1-1
Your Python version (
python --version
)Python 3.11.8
Your Rust version (
rustc --version
)rustc 1.79.0-nightly (becebb315 2024-04-17)
Your PyO3 version
0.20
How did you install python? Did you use a virtualenv?
pacman
Additional Info
To workaround it, add this to
Cargo.toml
The text was updated successfully, but these errors were encountered: