about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-08-10 16:23:51 +0200
committerGitHub <noreply@github.com>2024-08-10 16:23:51 +0200
commit65875b2f5a48b6b6f8a4c49a73cae7e84c7e19e7 (patch)
treebecc91e62dd9a2c4af430037ac4f0ecac8abc689 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent48090b11b52bd841fa89082cdaa4c139f11995f7 (diff)
parent1be60b5d2b6ac569d51abd376e6f04e2fc07692c (diff)
downloadrust-65875b2f5a48b6b6f8a4c49a73cae7e84c7e19e7.tar.gz
rust-65875b2f5a48b6b6f8a4c49a73cae7e84c7e19e7.zip
Rollup merge of #128273 - Voultapher:improve-ord-violation-help, r=workingjubilee
Improve `Ord` violation help

Recent experience in #128083 showed that the panic message when an Ord violation is detected by the new sort implementations can be confusing. So this PR aims to improve it, together with minor bug fixes in the doc comments for sort*, sort_unstable* and select_nth_unstable*.

Is it possible to get these changes into the 1.81 release? It doesn't change behavior and would greatly help when users encounter this panic for the first time, which they may after upgrading to 1.81.

Tagging `@orlp`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions