Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding #[must_use] on an item #268

Closed
wants to merge 20 commits into from

Commits on Jan 6, 2023

  1. New lint: enum_must_use_added

    Bartosz Smolarczyk committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    0290bee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87b9a1e View commit details
    Browse the repository at this point in the history
  3. Update src/lints/enum_must_use_added.ron

    Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
    SmolSir and obi1kenobi authored Jan 6, 2023
    Configuration menu
    Copy the full SHA
    df6e4c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. Missing newline in enum_must_use_added/new/src/lib.rs

    Bartosz Smolarczyk committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    c72b6d2 View commit details
    Browse the repository at this point in the history
  2. New lint: struct_must_use_added

    Bartosz Smolarczyk committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    3434892 View commit details
    Browse the repository at this point in the history
  3. New lint: function_must_use_added

    Bartosz Smolarczyk committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    36854b4 View commit details
    Browse the repository at this point in the history
  4. Update per_result_error_template in function_must_use_added lint

    Bartosz Smolarczyk committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    d7929a6 View commit details
    Browse the repository at this point in the history
  5. New lint: trait_must_use_added

    Bartosz Smolarczyk committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    deb3c32 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

  1. Additional tests with private items.

    Bartosz Smolarczyk committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    33e7992 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Missing test - private trait must_use added

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    659430e View commit details
    Browse the repository at this point in the history
  2. Simpler functions in function_must_use_added.

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    96a134b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee7c1e1 View commit details
    Browse the repository at this point in the history
  4. Additional test - adding new item with initial must_use.

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    ba2c051 View commit details
    Browse the repository at this point in the history
  5. Backup commit before file splitting.

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    68264c9 View commit details
    Browse the repository at this point in the history
  6. New lint: inherent_method_must_use_added

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    ffebed4 View commit details
    Browse the repository at this point in the history
  7. More comment emphasis in tests against false-positives :)

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    62acdda View commit details
    Browse the repository at this point in the history
  8. Removed unnecessary underscores '_'.

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    a96d6a4 View commit details
    Browse the repository at this point in the history
  9. New test crate: trait_method_must_use_added

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    b138f79 View commit details
    Browse the repository at this point in the history
  10. New test crate: inherent_method_moved_must_use_added

    Bartosz Smolarczyk committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    f950f99 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    57e5e41 View commit details
    Browse the repository at this point in the history