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

Enable empty_loop lint for no_std crates #6205

Merged
merged 3 commits into from
Nov 8, 2020
Merged

Commits on Nov 8, 2020

  1. Enable empty_loop lint for no_std crates

    We skip the lint if the `loop {}` is in the `#[panic_handler]` as the
    main recommendation we give is to panic, which obviously isn't
    possible in a panic handler.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored and flip1995 committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    c6a91df View commit details
    Browse the repository at this point in the history
  2. Update clippy_lints/src/loops.rs

    Fix NITs
    
    Co-authored-by: Philipp Krones <hello@philkrones.com>
    josephlr and flip1995 committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    3579b7d View commit details
    Browse the repository at this point in the history
  3. Update reference files

    flip1995 committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    00dee9d View commit details
    Browse the repository at this point in the history