about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2025-01-09 23:13:00 +0000
committerEsteban Küber <esteban@kuber.com.ar>2025-01-09 23:13:00 +0000
commit93a19501c2bad56e73f0ac9f3ae062b614d30832 (patch)
treefab6658d73f8e4316a09193f594cc86408868fa8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta580b5c379b4fca50dfe5afc0fc0ce00921e4e00 (diff)
downloadrust-93a19501c2bad56e73f0ac9f3ae062b614d30832.tar.gz
rust-93a19501c2bad56e73f0ac9f3ae062b614d30832.zip
Always force non-trimming of path in `unreachable_patterns` lint
Creating a "trimmed DefID path" when no error is being emitted is an ICE (on purpose). If we create a trimmed path for a lint that is then silenced before being emitted causes a known ICE. This side-steps the issue by always using `with_no_trimmed_path!`.

This was verified to fix https://github.com/quinn-rs/quinn/, but couldn't write a repro case for the test suite.

Fix #135289.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions