Skip to content

Commit 4582b0f

Browse files
committed
rm diag item, use lang item
1 parent ab81854 commit 4582b0f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/ffi/c_str.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ use crate::str;
7979
///
8080
/// [str]: prim@str "str"
8181
#[derive(Hash)]
82-
#[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
8382
#[stable(feature = "core_c_str", since = "1.64.0")]
8483
#[rustc_has_incoherent_inherent_impls]
8584
#[cfg_attr(not(bootstrap), lang = "CStr")]

0 commit comments

Comments
 (0)