about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-09-24 09:56:57 -0700
committerJosh Stone <jistone@redhat.com>2025-09-25 10:08:23 -0700
commita2d286992409d8077a03e0994a3839abdbfccc90 (patch)
treea25df7563f4d907524b9e1b3892aea2e5d29dab9 /compiler/rustc_codegen_llvm/src/errors.rs
parent7cfd7d328b14b936c7ffede92cacebe8557c6388 (diff)
downloadrust-a2d286992409d8077a03e0994a3839abdbfccc90.tar.gz
rust-a2d286992409d8077a03e0994a3839abdbfccc90.zip
Add `clippy::unconditional_recursion` to `./x clippy ci`
The clippy lint catches some things that rustc's equivalent builtin lint
does not, for example rust-lang/rust#146940:

    error: function cannot return without recursing
        --> library/std/src/path.rs:3428:5
         |
    3428 | /     fn eq(&self, other: &String) -> bool {
    3429 | |         self == &*other
    3430 | |     }
         | |_____^
         |
    note: recursive call site
        --> library/std/src/path.rs:3429:9
         |
    3429 |         self == &*other
         |         ^^^^^^^^^^^^^^^
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
         = note: requested on the command line with `-D clippy::unconditional-recursion`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions