about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2024-12-16 15:48:56 +0000
committerGitHub <noreply@github.com>2024-12-16 15:48:56 +0000
commit063c5c17433ff058d7c899d2933f2c7d1162b3da (patch)
tree12317c4884bed6dd5ab6e2cf88a30197b604bad8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent968669b00a224d6e97439d317e7443b8493e2f1c (diff)
parent1a23b5b51765a9f47e9afafbd9b611c5d11b5dfd (diff)
downloadrust-063c5c17433ff058d7c899d2933f2c7d1162b3da.tar.gz
rust-063c5c17433ff058d7c899d2933f2c7d1162b3da.zip
correct suggestion for `unnecessary_sort_by` in `no_std` (#13836)
fix #11524

In a `no_std` environment, we can use `core::cmp::Reverse` instead of
`std::cmp::Reverse`.

----

changelog: [`unnecessary_sort_by`]: correct suggestion in `no_std`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions