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.
1 parent 236e15c commit c8e4878Copy full SHA for c8e4878
core/src/ffi/c_str.rs
@@ -77,7 +77,7 @@ use crate::str;
77
#[derive(Hash)]
78
#[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
79
#[unstable(feature = "core_c_str", issue = "94079")]
80
-#[cfg_attr(not(bootstrap), lang = "CStr")]
+#[cfg_attr(not(bootstrap), rustc_has_incoherent_inherent_impls)]
81
// FIXME:
82
// `fn from` in `impl From<&CStr> for Box<CStr>` current implementation relies
83
// on `CStr` being layout-compatible with `[u8]`.
0 commit comments