Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (6 sloc) 177 Bytes
// build-pass (FIXME(62277): could be check-pass?)
use std::num::NonZeroU8;
const X: NonZeroU8 = unsafe { NonZeroU8::new_unchecked(5) };
const Y: u8 = X.get();
fn main() {
}
You can’t perform that action at this time.