Publication Type

Conference Proceeding Article

Version

publishedVersion

Publication Date

4-2024

Abstract

The error messages generated by the Rust compiler (rustc) are useful for developers to identify and diagnose suspicious code segments. Complementing the compiler, linters can also play an important role in promoting the adherence to certain coding style conventions and best practices. Prominent linters utilized in the Rust ecosystem include Clippy [1] and Rustfmt [2]. Among them, the Rust community particularly emphasizes on the importance of heeding the warnings provided by Clippy to mitigate common errors and promote the adoption of idiomatic conventions. Clippy provides a set of more than 600 lints in addition to the built-in rustc lints. These lints are divided into nine distinct categories that address correctness and style aspects. Each category is assigned a default lint level, namely Allow, Warn, or Deny, indicating the severity with which the lints are reported.

Discipline

Software Engineering

Research Areas

Software and Cyber-Physical Systems

Publication

2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), April 14-20, 2024, Lisbon

First Page

318

Last Page

319

ISBN

9798400705021

Identifier

10.1145/3639478.3643096

Publisher

IEEE Computer Society

City or Country

Washington, DC

Additional URL

https://doi.org/10.1145/3639478.3643096

Share

COinS