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

Allow refining Self #589

Merged
merged 28 commits into from
Jan 6, 2024

Fix formatting

7a045d5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Allow refining Self #589

Fix formatting
7a045d5
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jan 6, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.75.0-nightly (7adc89b69 2023-11-07)
  • cargo 1.75.0-nightly (65e297d1e 2023-11-03)
  • clippy 0.1.75 (7adc89b 2023-11-07)

Annotations

Check warning on line 217 in crates/flux-desugar/src/desugar.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> crates/flux-desugar/src/desugar.rs:217:5
    |
217 |     return SelfRes::None;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
217 -     return SelfRes::None;
217 +     SelfRes::None
    |