rust/compiler/rustc_middle
Nicholas Nethercote 086d17b7cb Refactor try_print_trimmed_def_path.
Inverting the condition lets us merge the two `Ok(false)` paths. I also
find the inverted condition easier to read: "all the things that must be
true for trimming to occur", instead of "any of the things that must be
true for trimming to not occur".
2024-01-15 09:04:31 +11:00
..
2024-01-15 09:04:31 +11:00

For more information about how rustc works, see the rustc dev guide.