diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-22 11:00:30 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-22 11:00:30 +1100 |
| commit | 012a304a167aa4bafe91f40cc73ed4bb0073877c (patch) | |
| tree | f271f0cb8b6f18fcfd6ffe3a58b475f4dbea2802 /compiler/rustc_codegen_gcc | |
| parent | ef71f1047e04438181d7cb925a833e2ada6ab390 (diff) | |
| download | rust-012a304a167aa4bafe91f40cc73ed4bb0073877c.tar.gz rust-012a304a167aa4bafe91f40cc73ed4bb0073877c.zip | |
Fix a `trimmed_def_paths` assertion failure.
`RegionHighlightMode::force_print_trimmed_def_path` can call `trimmed_def_paths` even when `tcx.sess.opts.trimmed_def_paths` is false. Based on the `force` in the method name, it seems this is deliberate, so I have removed the assertion. Fixes #120035.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
