about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-04-16 00:13:31 +0000
committerGitHub <noreply@github.com>2025-04-16 00:13:31 +0000
commit08c78e00951715570546eb182f65bc535a470bf9 (patch)
treecb5997962cfb38a481525fc3c0f39505d16e4e01 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9663da39d2aee8ae68d06de75ae122ea27d88281 (diff)
parente0c8b4bf53d9665a36d951af74706ae7488c4b19 (diff)
downloadrust-08c78e00951715570546eb182f65bc535a470bf9.tar.gz
rust-08c78e00951715570546eb182f65bc535a470bf9.zip
Replace stray `println!()` in lint code by `bug!()` (#14618)
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.

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions