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
I'm going to close this as inactionable because while it's known that as casts are a confusing mix of a bunch of behaviors, it's likely too noisy to warn on existing code, and more explicit methods are being added to address such use cases to make it unambiguous.
I tried this code:
I expected to see this happen: i was expecting somekind of error, not even runtime error
Instead, this happened: *i get
-1
255
as output this may cause bugs in application
*
Meta
rustc --version --verbose
:rustc 1.85.0 (4d91de4 2025-02-17)
binary: rustc
commit-hash: 4d91de4
commit-date: 2025-02-17
host: x86_64-pc-windows-msvc
release: 1.85.0
LLVM version: 19.1.7
Backtrace
The text was updated successfully, but these errors were encountered: