about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-27 08:06:45 +0200
committerGitHub <noreply@github.com>2022-06-27 08:06:45 +0200
commit3694e40ffa55d65cb72148570f0fcab311741586 (patch)
tree4d79b3550d7283259e107bfabb26b1a6c8e6a3e4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent7702ae16a23407cdd909ff9174294563ae1f4ba3 (diff)
parentf107923cc05fdb6a85be30d0495692b47ec174b2 (diff)
downloadrust-3694e40ffa55d65cb72148570f0fcab311741586.tar.gz
rust-3694e40ffa55d65cb72148570f0fcab311741586.zip
Rollup merge of #97389 - m-ou-se:memory-ordering-diagnostics, r=estebank
Improve memory ordering diagnostics

Before:

![image](https://user-images.githubusercontent.com/783247/170234545-891cac30-eaa2-4186-847b-35cd51e00f2b.png)

After:

![image](https://user-images.githubusercontent.com/783247/170239684-645f186f-5a02-4eb9-8651-2e5fe9591352.png)

---

Before this change, the compiler suggests the failure ordering is too strong and suggests choosing a weaker ordering. After this change, it instead suggests the success ordering is not strong enough, and suggests chosing a stronger one. This is more likely to be correct.

Also, before this change, the compiler suggested downgrading an invalid AcqRel failure ordering to Relaxed, without mentioning Acquire as an option.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions