Skip to content

Commit

Permalink
rm diag item, use lang item
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed May 2, 2023
1 parent ab81854 commit 4582b0f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/ffi/c_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ use crate::str;
///
/// [str]: prim@str "str"
#[derive(Hash)]
#[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
#[stable(feature = "core_c_str", since = "1.64.0")]
#[rustc_has_incoherent_inherent_impls]
#[cfg_attr(not(bootstrap), lang = "CStr")]
Expand Down

0 comments on commit 4582b0f

Please sign in to comment.