about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-25 15:27:32 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-25 15:27:32 +0200
commitec97b0f0b57376550efa4d144b62955970f22f02 (patch)
tree55042dbe1adaddce161543413cad18d34f4a7f33 /src/librustdoc/html/render/mod.rs
parent3646a09811bfca55e976117b4c2b8bf0b4cb5aee (diff)
downloadrust-ec97b0f0b57376550efa4d144b62955970f22f02.tar.gz
rust-ec97b0f0b57376550efa4d144b62955970f22f02.zip
Update to new API
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index 14b35d3c392..5677b13033d 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -1222,7 +1222,7 @@ fn render_repr_attributes_in_code(
     def_id: DefId,
     item_type: ItemType,
 ) {
-    if let Some(repr) = clean::repr_attributes(cx.tcx(), cx.cache(), def_id, item_type) {
+    if let Some(repr) = clean::repr_attributes(cx.tcx(), cx.cache(), def_id, item_type, false) {
         render_code_attribute(CodeAttribute(repr), w);
     }
 }