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 a32e7dc commit 2beb5a4Copy full SHA for 2beb5a4
compiler/rustc_abi/src/canon_abi.rs
@@ -136,7 +136,8 @@ impl CanonAbi {
136
137
/// convert an ExternAbi to a CanonAbi if it maps directly
138
///
139
- /// Pretty incorrect to publicly expose!
+ /// Like `to_erased_extern_abi`, this is only intended for internal usage by
140
+ /// CanonAbi's implementation, as it is not "target-aware".
141
const fn try_from_extern_abi(extern_abi: ExternAbi) -> Result<Self, AbiConvErr> {
142
match extern_abi {
143
ExternAbi::C { unwind: false } => Ok(Self::C),
0 commit comments