Do not expand type aliases in rust mode #189
GitHub Actions / clippy
succeeded
Jan 2, 2024 in 1s
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 55 in crates/flux-middle/src/rustc/lowering.rs
github-actions / clippy
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference
--> crates/flux-middle/src/rustc/lowering.rs:55:26
|
55 | pub(crate) fn to_err(self) -> UnsupportedErr {
| ^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
= note: `#[warn(clippy::wrong_self_convention)]` on by default
Loading