about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-24 21:36:56 +0200
committerGitHub <noreply@github.com>2023-05-24 21:36:56 +0200
commit09489b9137698e5eeebe1c3e4c421d0b36319d28 (patch)
tree03c26faa72b7741454de6fb4a4e5c612861530ed /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent97d328012b9ed9b7d481c40e84aa1f2c65b33ec8 (diff)
parent5494eec981abc99997077f18800795a4d92f680e (diff)
downloadrust-09489b9137698e5eeebe1c3e4c421d0b36319d28.tar.gz
rust-09489b9137698e5eeebe1c3e4c421d0b36319d28.zip
Rollup merge of #111121 - Zalathar:ra-false-positive, r=jackh726
Work around `rust-analyzer` false-positive type errors

rust-analyzer incorrectly reports two type errors in `debug.rs`:

> expected &dyn Display, found &i32
> expected &dyn Display, found &i32

This is due to a known bug in r-a: (https://github.com/rust-lang/rust-analyzer/issues/11847).

In these particular cases, changing `&0` to `&0i32` seems to be enough to avoid the bug.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions