Skip to content

rusti: disable unused variable warnings #4266

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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