Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/consteval/tests.rs')
| -rw-r--r-- | crates/hir-ty/src/consteval/tests.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/hir-ty/src/consteval/tests.rs b/crates/hir-ty/src/consteval/tests.rs index 723fa0fc68..f158661069 100644 --- a/crates/hir-ty/src/consteval/tests.rs +++ b/crates/hir-ty/src/consteval/tests.rs @@ -2474,8 +2474,6 @@ fn extern_weak_statics() { } #[test] -// FIXME -#[should_panic] fn from_ne_bytes() { check_number( r#" @@ -2567,9 +2565,8 @@ fn const_transfer_memory() { fn anonymous_const_block() { check_number( r#" - extern "rust-intrinsic" { - pub fn size_of<T>() -> usize; - } + #[rustc_intrinsic] + pub fn size_of<T>() -> usize; const fn f<T>() -> usize { let r = const { size_of::<T>() }; |