mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Clippy lint and cleanup
This commit is contained in:
parent
3badca4581
commit
5066b19901
3 changed files with 19 additions and 16 deletions
|
@ -75,6 +75,9 @@ pub trait CallConv<GeneralReg: RegTrait, FloatReg: RegTrait> {
|
|||
field_layouts: &[Layout<'a>],
|
||||
ret_reg: Option<GeneralReg>,
|
||||
) -> Result<(), String>;
|
||||
|
||||
// returns true if the layout should be returned via an argument pointer.
|
||||
fn returns_via_arg_pointer(ret_layout: &Layout) -> Result<bool, String>;
|
||||
}
|
||||
|
||||
/// Assembler contains calls to the backend assembly generator.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue