mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Lints
This commit is contained in:
parent
906f2349b8
commit
32a59b7e72
3 changed files with 7 additions and 5 deletions
|
@ -129,8 +129,10 @@ impl TestCase {
|
|||
}
|
||||
|
||||
fn parse_infer_options(data: &str) -> Result<InferOptions, Failed> {
|
||||
let mut infer_opts = InferOptions::default();
|
||||
infer_opts.no_promote = true;
|
||||
let mut infer_opts = InferOptions {
|
||||
no_promote: true,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let found_infer_opts = RE_OPT_INFER.captures_iter(data);
|
||||
for infer_opt in found_infer_opts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue