about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-19 05:11:52 +0000
committerbors <bors@rust-lang.org>2024-10-19 05:11:52 +0000
commit0c374048b6bb23d1d5c908d0636e99c144b67f7e (patch)
tree84b6e0ba20fd41a1ac99fcbc99fb1eec9c79f6cd /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf075375e65a733ec23dd20ce8baed68059b5a713 (diff)
parent0590422812c4c02b4292ee5043583f189d7f3647 (diff)
downloadrust-0c374048b6bb23d1d5c908d0636e99c144b67f7e.tar.gz
rust-0c374048b6bb23d1d5c908d0636e99c144b67f7e.zip
Auto merge of #18336 - xuwaters:patch-1, r=lnicola
Fix: Increase TOKEN_LIMIT in hir-expand

Due to the `TOKEN_LIMIT`, rust-analyzer failed to expand macro for `web-sys::WebGl2RenderingContext` https://github.com/rustwasm/wasm-bindgen/blob/main/crates/web-sys/src/features/gen_WebGl2RenderingContext.rs

<img width="780" alt="image" src="https://github.com/user-attachments/assets/3a39f18e-656e-43df-9994-0a0179fa42ac">
<img width="403" alt="image" src="https://github.com/user-attachments/assets/7ae8dcf9-a40a-4070-8623-dd3a953bbf45">

After increasing the `TOKEN_LIMIT`, the `web-sys::WebGl2RenderingContext` can be expanded successfully:
<img width="459" alt="image" src="https://github.com/user-attachments/assets/76a71763-05a5-4f14-a5c9-61fc190c668f">
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions