Skip to content

Unable to run cargo run --timings #1154

@lomirus

Description

@lomirus

cargo run --timings worked fine initially.

But once the following code was added to ​config.nu, cargo run --timings stopped working:

source "nu_scripts/custom-completions/cargo/cargo-completions.nu"

and produced this error:

Error: nu::parser::missing_flag_param

  × Missing flag argument.
   ╭─[entry #2:1:13]
 1 │ cargo build --timings
   ·             ────┬────
   ·                 ╰── flag missing string argument
   ╰────

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions