Skip to content

Commit

Permalink
Rollup merge of #70985 - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0512 explanation

r? @Dylan-DPC
  • Loading branch information
Centril authored Apr 10, 2020
2 parents f699a55 + 1d01ce2 commit d36991a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0512.md
Original file line number Diff line number Diff line change
@@ -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) {}
Expand Down

0 comments on commit d36991a

Please sign in to comment.