about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-04-15 19:38:20 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-04-15 19:50:14 +0200
commite0c8b4bf53d9665a36d951af74706ae7488c4b19 (patch)
tree039ca1dd0e94ce23a9d03287abad71998bc0c9d9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd3267e9230940757fde2fcb608605bf8dbfd85e1 (diff)
downloadrust-e0c8b4bf53d9665a36d951af74706ae7488c4b19.tar.gz
rust-e0c8b4bf53d9665a36d951af74706ae7488c4b19.zip
Replace stray `println!()` in lint code by `bug!()`
To avoid crashing Clippy, the `bug!()` is used only when debug assertions are
enabled. In regular usage, the result will be the same as before, but without
the extra line printed on the standard output which has the potential for
disrupting shell scripts.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions