#![allow(unused_variables)] fn main() { use std::ffi::{CString, NulError}; let _: NulError = CString::new(b"f\0oo".to_vec()).unwrap_err(); }