Skip to content

Commit 32ca464

Browse files
committed
(c2rust-analyze/tests) Enable the cast_from_literal test now that string literals are also working (#886, #902).
1 parent 182b0b5 commit 32ca464

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

c2rust-analyze/tests/analyze/string_casts.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ pub fn cast_array_to_ptr(s: &[u8; 0]) {
1818
s as *const u8;
1919
}
2020

21-
#[cfg(any())]
2221
pub fn cast_from_literal() {
2322
b"" as *const u8 as *const core::ffi::c_char;
2423
}

0 commit comments

Comments
 (0)