diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-27 15:10:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 15:10:55 +0200 |
commit | 1ca3f33ef7b2e83271f42f1b922a21e20516d7cc (patch) | |
tree | 1e3db7f5fc82925180c581f28ee57c8f485b1129 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
parent | 563eb04c5d5bb23db2f3624b408e43eed6bf2e24 (diff) | |
parent | 0fabceb2df91853c41c1a882d630db22b8251b0b (diff) | |
download | rust-1ca3f33ef7b2e83271f42f1b922a21e20516d7cc.tar.gz |
Rollup merge of #110866 - compiler-errors:test, r=jyn514
Make `method-not-found-generic-arg-elision.rs` error message not path dependent
Every time I bless `tests/ui/methods/method-not-found-generic-arg-elision.rs`, I get some nonsense "type is too long" + "written to disk" that shows up and have to manually revert because the combination of my rustc repo path + the UI test directory hits the length limit for printing types spilling to disk (since this happens before UI test path sanitization).
The fact that we use a closure in this test doesn't have to do with the UI test, so just box the closure to make the type name smaller and not path dependent.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions