Skip to content

Commit e106e38

Browse files
committed
Update ui-fulldeps.
1 parent 511fb33 commit e106e38

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/ui-fulldeps/rustc_public/check_def_ty.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,13 @@ fn generate_input(path: &str) -> std::io::Result<()> {
9090
write!(
9191
file,
9292
r#"
93-
// We would like to check intrinsic definition.
94-
#![feature(core_intrinsics)]
9593
static STATIC_STR: &str = "foo";
9694
const CONST_U32: u32 = 0u32;
9795
9896
fn main() {{
9997
let _c = core::char::from_u32(99);
10098
let _v = Vec::<u8>::new();
101-
let _i = std::intrinsics::size_of::<u8>();
99+
let _i = std::mem::size_of::<u8>();
102100
}}
103101
104102
extern "C" {{

0 commit comments

Comments
 (0)