We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc_layout_scalar_valid_range_end
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
Works properly has a niche of 1, while DoesNotWork has no niches even though it should
Works
DoesNotWork
#[rustc_layout_scalar_valid_range_start(1)] pub struct Works { private: u32, } #[rustc_layout_scalar_valid_range_end(0xFFFF_FF00)] pub struct DoesNotWork { private: u32, }
The text was updated successfully, but these errors were encountered:
ah the problem is the hex number
Sorry, something went wrong.
547bcf8
Veykril
Successfully merging a pull request may close this issue.
Works
properly has a niche of 1, whileDoesNotWork
has no niches even though it shouldThe text was updated successfully, but these errors were encountered: