Skip to content

i8 as i64 cast isn't correct #17024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
robertg opened this issue Sep 5, 2014 · 0 comments
Closed

i8 as i64 cast isn't correct #17024

robertg opened this issue Sep 5, 2014 · 0 comments

Comments

@robertg
Copy link

robertg commented Sep 5, 2014

Actual: println!("{}", i8::MIN as u64); // => 18446744073709551488.
Expected: println!("{}", i8::MIN as u64); // => 128.

@robertg robertg closed this as completed Sep 5, 2014
lnicola pushed a commit to lnicola/rust that referenced this issue Apr 20, 2024
fix: handle escaped chars in doc comments

fix rust-lang#16980.

For `ast::LiteralKind::String`, store the original string value.
lnicola pushed a commit to lnicola/rust that referenced this issue Apr 20, 2024
fix: handle escaped chars in doc comments

fix rust-lang#16980.

For `ast::LiteralKind::String`, store the original string value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant