diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-12-08 23:15:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-08 23:15:13 +0100 |
| commit | 943fa33dafe8abcc299110682d272183f198ab5e (patch) | |
| tree | 9123ce2b53710f5eeb8f6f38a964993160676420 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | d2de292017a534a48bfa517434cd64a72e08f13f (diff) | |
| parent | eb53721a34d1d910b900aa753e0a00dc72ef41ac (diff) | |
| download | rust-943fa33dafe8abcc299110682d272183f198ab5e.tar.gz rust-943fa33dafe8abcc299110682d272183f198ab5e.zip | |
Rollup merge of #118730 - jyn514:cmp_refs, r=estebank,compiler-errors
recurse into refs when comparing tys for diagnostics
before:

after:

this diff from the test suite is also quite nice imo:
```diff
`@@` -4,8 +4,8 `@@` error[E0308]: mismatched types
LL | debug_assert_eq!(iter.next(), Some(value));
| ^^^^^^^^^^^ expected `Option<<I as Iterator>::Item>`, found `Option<&<I as Iterator>::Item>`
|
- = note: expected enum `Option<<I as Iterator>::Item>`
- found enum `Option<&<I as Iterator>::Item>`
+ = note: expected enum `Option<_>`
+ found enum `Option<&_>`
```
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
