Skip to content

rusti: disable unused variable warnings #4266

Closed
@kud1ing

Description

@kud1ing

Say, you're prototyping some code or doing some quick calculations, those warnings are not helpful:

rusti> let x = 42;
<anon>:35:4: 35:7 warning: unused variable: `x`
<anon>:35 let x = 42;
              ^~~
()
rusti> let y = x + 42;
<anon>:37:4: 37:7 warning: unused variable: `y`
<anon>:37 let y = x + 42;
              ^~~
()
rusti> y
84

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions