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:
authorbors <bors@rust-lang.org>2020-03-23 12:40:36 +0000
committerbors <bors@rust-lang.org>2020-03-23 12:40:36 +0000
commit8549cfed4bbcdd28ef3a36e5de72c000e32f650e (patch)
tree8767b779bc071839adf90065d75c6d4484634190 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5aa8f199c398644d9fc2bb9ac8cffd14f985686d (diff)
parentb8f98662577f5423e2a2c4ffdfafbad9e4526058 (diff)
downloadrust-8549cfed4bbcdd28ef3a36e5de72c000e32f650e.tar.gz
rust-8549cfed4bbcdd28ef3a36e5de72c000e32f650e.zip
Auto merge of #69649 - estebank:negative-impl-span, r=Centril
Tweak output for invalid negative impl errors

Follow up to #69722. Tweak negative impl errors emitted in the HIR:

```
error[E0192]: invalid negative impl
  --> $DIR/E0192.rs:9:6
   |
LL | impl !Trait for Foo { }
   |      ^^^^^^
   |
   = note: negative impls are only allowed for auto traits, like `Send` and `Sync`
```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions