You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling rosc v0.1.4 (file:///home/andreas/personal/dev/rust/rosc)
src/decoder.rs:110:28: 110:39 warning: can't cast this type, #[warn(const_err)] on by defaultsrc/decoder.rs:110 s.trim_matches(0u8 as char)
fix various const eval errors
These were found after const_evaluating arbitrary expressions and linting if the const evaluator failed
fixesrust-lang#33275 (int -> float casts for negative ints)
fixesrust-lang#33291 (int -> char casts (new! wasn't allowed in constants until this PR))
r? @eddyb
cc @bluss@japaric
This is a new warning in recent nightlies, for u8 -> char casts.
The text was updated successfully, but these errors were encountered: