thepowersgang/mrustc

Error in parsing 0.0..1.0

BerryYoghurt opened this issue · 0 comments

Hi. While compiling rand, minicargo throws this error rand/src/distributions/bernoulli.rs:99: error:0:Couldn't find the field 0 in i32 on this line. So although 0.0..1.0 should be interpreted as a range (as I understand from here), mrustc parses it as if the code is trying to access a field in an integer.