about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-02 04:53:19 +0000
committerbors <bors@rust-lang.org>2023-09-02 04:53:19 +0000
commit1fb6947abc68683db05f837f07531a2f7d7ed8b3 (patch)
tree50f0b6db7c73c55c1708f2d6fe558fad9724592d /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent9dc11a13fa848c1b09b7248c540528190dcb79c5 (diff)
parent159ad5fb0d5f6b8ba85eda2a9479a1a12727580d (diff)
downloadrust-1fb6947abc68683db05f837f07531a2f7d7ed8b3.tar.gz
rust-1fb6947abc68683db05f837f07531a2f7d7ed8b3.zip
Auto merge of #115286 - saethlin:detangler, r=petrochenkov
Skip rendering metadata strings from include_str!/include_bytes!

The const rendering code in rustdoc completely ignores consts from expansions, but the compiler was rendering all consts. So some consts (namely those from `include_bytes!`) were rendered then ignored.

Most of the diff here is from moving `print_const_expr` from rustdoc into `rustc_hir_pretty` so that it can be used in rustdoc and when building rmeta files.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions