diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-01-09 23:13:00 +0000 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-01-23 08:44:57 -0800 |
| commit | a41d236a6e2c4108be79ded5f93fb91d497e46df (patch) | |
| tree | 1a4625ccb6efff0658150ca40eb1dde61965c05e /compiler/rustc_codegen_gcc/src/coverageinfo.rs | |
| parent | 44165070434aab38db1115448621880a35da00ff (diff) | |
| download | rust-a41d236a6e2c4108be79ded5f93fb91d497e46df.tar.gz rust-a41d236a6e2c4108be79ded5f93fb91d497e46df.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. (cherry picked from commit 93a19501c2bad56e73f0ac9f3ae062b614d30832)
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/coverageinfo.rs')
0 files changed, 0 insertions, 0 deletions
