Description
I observe that in some scenarios, my trybuild tests are triggering the Rust long type name shortening logic. This is inconsistent between usages: in some situations my trybuild tests trigger this shortening, in others not. Perhaps due to filesystem paths or whatnot differences? Hard to say. Anyway, this changes the stderr output, so causes inconsistent test results.
Example of this happening to others: rust-lang/rust#113424
This is not desirable, so I am looking for a way to disable this behavior in all my trybuild tests (running in stable toolchain). As per rust-lang/rust#119130 it seems that passing --verbose
can be used to disable this logic, which seems suitable (though I wonder what else it does).
I would like to pass this flag in all my trybuild tests. Today, no feature for this appears to exist - I request such a feature (in a form that would not require me to apply it globally in env variables).