We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511fb33 commit e106e38Copy full SHA for e106e38
tests/ui-fulldeps/rustc_public/check_def_ty.rs
@@ -90,15 +90,13 @@ fn generate_input(path: &str) -> std::io::Result<()> {
90
write!(
91
file,
92
r#"
93
- // We would like to check intrinsic definition.
94
- #![feature(core_intrinsics)]
95
static STATIC_STR: &str = "foo";
96
const CONST_U32: u32 = 0u32;
97
98
fn main() {{
99
let _c = core::char::from_u32(99);
100
let _v = Vec::<u8>::new();
101
- let _i = std::intrinsics::size_of::<u8>();
+ let _i = std::mem::size_of::<u8>();
102
}}
103
104
extern "C" {{
0 commit comments