Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC

Clean up E0512 explanation

r? @Dylan-DPC
This commit is contained in:
Mazdak Farrokhzad 2020-04-10 18:15:26 +02:00 committed by GitHub
commit d36991a400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
Transmute with two differently sized types was attempted. Erroneous code
example:
Transmute with two differently sized types was attempted.
Erroneous code example:
```compile_fail,E0512
fn takes_u8(_: u8) {}