You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_target/src/abi/call/mod.rs
+9-4
Original file line number
Diff line number
Diff line change
@@ -778,27 +778,32 @@ impl RiscvInterruptKind {
778
778
779
779
/// Metadata describing how the arguments to a native function
780
780
/// should be passed in order to respect the native ABI.
781
+
///
782
+
/// The signature represented by this type may not match the MIR function signature.
783
+
/// Certain attributes, like `#[track_caller]` can introduce additional arguments, which are present in [`FnAbi`], but not in[`rustc_middle::ty::FnSig`].
784
+
/// While this difference is rarely relevant, it should still be kept in mind.
781
785
///
782
786
/// I will do my best to describe this structure, but these
783
787
/// comments are reverse-engineered and may be inaccurate. -NDM
0 commit comments