We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c33cb2 + 727ac21 commit 9eadc76Copy full SHA for 9eadc76
std/src/ffi/c_str.rs
@@ -185,6 +185,7 @@ pub struct CString {
185
///
186
/// [`&str`]: prim@str
187
#[derive(Hash)]
188
+#[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
189
#[stable(feature = "rust1", since = "1.0.0")]
190
// FIXME:
191
// `fn from` in `impl From<&CStr> for Box<CStr>` current implementation relies
0 commit comments