Aatch / ramp

RAMP - Rust Arithmetic in Multiple Precision
Apache License 2.0
261 stars 38 forks source link

ramp fails to build "error[E0199]: implementing the trait `Step` is not unsafe" #129

Closed 0x1d1z3r closed 3 years ago

0x1d1z3r commented 3 years ago

I got this Error while building a personal project with ramp, it compiled multiple times before with nightly rust, but now it doesn't. I guess this is due to some recent rustc changes. error.txt

hmeine commented 3 years ago

I got the same error, but when I switched to current master, that error vanished.

For beginners like myself, this is how I did that:

[dependencies]
ramp = "0.6.0"

[patch.crates-io]
#ramp = { path = "../ramp" } # local checkout
ramp = { git = 'https://github.com/Aatch/ramp' }

Hence, I believe this problem is fixed in master and this issue can be closed.

0x1d1z3r commented 3 years ago

Fixed for me aswell