about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-20 12:38:31 +0800
committerGitHub <noreply@github.com>2025-01-20 12:38:31 +0800
commit3f2f695d68334ca4ecc8aec0aa38b5391051c987 (patch)
treef9416f39096ebe4d787479f8375cee4502c9119a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1419f79acf0ef701ba6fdfcc4f2e7040ed31f0ae (diff)
parent93a19501c2bad56e73f0ac9f3ae062b614d30832 (diff)
downloadrust-3f2f695d68334ca4ecc8aec0aa38b5391051c987.tar.gz
rust-3f2f695d68334ca4ecc8aec0aa38b5391051c987.zip
Rollup merge of #135310 - estebank:issue-135289, r=Nadrieril
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